Repository Forums Support WooCommerce Extended Coupon Features PRO Plugin having JS conflict

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #15808
    suparagroup
    Participant

    Hi,

    I am using extended coupon pro plugin in my website to provide free products. In backend I have done following settings
    1) to automatically apply the coupon which is buy2get1
    2) Not allowing user to remove this coupon
    3) Set minimum criteria == 2. So once user adds 2 quantity of any product, this is applied automatically.

    Issue:

    1) I am not able to select variation ( in case of variable product) of free product offered. To replicate the same you can add 2 quantity of any product in the cart and do checkout. On checkout page, option to choose free product will be displayed. Here I am not able to select the variation of product. Seems like add-to-cart-variation.js not working here with your code. It works very well with simple product or if I set default variation of a product from backend. Default variation gets selected automatically.

    2) Another bug is When I am using the following setting:
    The amount of free products is multiplied every time the minimum spend, subtotal or quantity is reached

    So I am doing buy2get, once user adds 4 quantity of a product its free product will be 2 in quantity but plugin add 4 free product to cart instead of 2 ( which is same as paid products ).

    *************

    Let me know where I am doing wrong. Hoping for quick reply.

    #15810
    Soft79
    Keymaster

    1) The colour swatch plugin doesn’t work on the checkout page. Possibly a javascript needs to be loaded, please contact the author.

    There are multiple javascript files not being loaded because your site tries to access ‘http://’

    It’s also hardly possible to add 11239 to the cart manually. Is every variation in stock?

    2) How can I reproduce this?

    #15844
    suparagroup
    Participant

    I am not sure if my reply is being submited, I do not see it here 🙁

    #15853
    suparagroup
    Participant

    This system is kinda buggy, I am trying to submit my reply and it not letting me do it, it does not show any kind of error also! I have to try and reply in chunks!

    #15863
    suparagroup
    Participant

    3) I got another problem, I want to remove the filter ( woocommerce_cart_totals_coupon_label ) used in WJECF_Autocoupon class. But default ways to remove it is not working. Let me know the way to remove this filter.
    You are displaying a coupon description instead of coupon code along with coupon text. I need to have the default WooCommerce coupon label text.

    #15875
    suparagroup
    Participant

    The colour swatch plugin doesn’t work on the checkout page. Possibly a JS needs to be loaded, please contact the author.

    #15878
    suparagroup
    Participant

    There are multiple javascript files not being loaded because your site tries to access http://’

    #15879
    suparagroup
    Participant

    It’s also hardly possible to add 11239 to the cart manually. Is every variation in stock?
    NO, All variations are not in stock. That’s what I need to achieve along with variation selection. Out of stock variation would be grey out like product page. You can see here:

    #15881
    suparagroup
    Participant

    https://gqsize.zapbase.com/product/gqcolor-short/ I think to add to cart variation js is not working here on the checkout page. Can you provide me with further information to me?

    #15882
    suparagroup
    Participant

    How can I reproduce this?

    #15885
    suparagroup
    Participant

    You can reproduce by doing the following settings for the coupon in the backend:

    #15890
    suparagroup
    Participant
    #15891
    suparagroup
    Participant
    #15892
    suparagroup
    Participant

    After doing this add 4 quantity of a product to cart, the free product should be 2 in quantity because we have set minimum qty should be 2 to get a free product. But we are getting 4 free products because we added 4 quantity of it to cart.

    #15899
    Soft79
    Keymaster

    It would be better to select the variations from the Edit Coupon Page instead of the variable (parent) products. That way the out-of-stock items will automatically be hidden and you don’t have issues with the color swatch plugin.

    About the BOGO: Must BOGO apply to one product or different products?

    If for one product: Uncheck BOGO and fill in the product in the ‘Free products’ and ‘Usage restrictions > Products’ boxes.

    If for multiple products, you need to use this filter:

    
    add_filter( 'wjecf_bogo_product_amount_for_coupon', function( $amount, $coupon ) {
      if ( strcasecmp( $coupon->get_code(), 'COUPON_CODE_HERE' ) === 0 ) {
        $amount = floor($amount / 2);
      }
      return $amount;
    }, 10, 2 );
    
Viewing 15 posts - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.