Repository Forums Support WooCommerce Extended Coupon Features PRO Free Gift not showing in checkout unless you refresh page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17300
    Damian Dineen
    Participant

    Hello

    My site http://www.madeinhere.co.uk has a coupon set up to provide a free gift if a customer spends min amount of £20 AND if they enter the coupon code at the checkout page. However, after the customer enters the coupon code and submits it the free gift is not shown to the customer on the checkout page. If the customer presses F5 to refresh the checkout page the free gift is then successfully shown?

    Thanks
    Damian

    #17301
    Soft79
    Keymaster

    What is the coupon code, so I can test it?

    #17302
    Damian Dineen
    Participant

    Hello, thanks for your reply. The coupon code is “LAUNCH MAGIC”. Thanks.

    #17303
    Soft79
    Keymaster

    I see, please try this:

    Copy wp-content/plugins/woocommerce-auto-added-coupons-pro/templates/checkout/select-free-product.php
    to wp-content/themes/YOUR-CHILD-THEME/woocommerce-auto-added-coupons/checkout/select-free-product.php

    and remove the following lines (36 … 39) from the newly created file:

    
    //Don't display if no free product selections...
    if ( empty( $coupons_form_data ) ) {
    	return;
    }
    
    #17305
    Damian Dineen
    Participant

    This seems to have fixed the issue. Also, is it correct that once the customer selects their free gift that the free gift doesn’t show up under the ‘Your order’ until you’ve started populating the Billing Address? Thank you, Damian.

    #17306
    Soft79
    Keymaster

    Yes, that’s normal.

    #17311
    Damian Dineen
    Participant

    Thank you for your help today and the quick response to fixing this issue.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.