Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor James Koster

    (@jameskoster)

    You need to enable coupons, ‘General’ tab on WooCommerce settings screen ??

    Thread Starter azn137

    (@azn137)

    Sorry, I forgot to mention. Yes, the coupon has been enabled in General Settings, and I’ve set up a test coupon code. I just don’t see the field when checking out or viewing cart.

    You can take a look here: https://globalretoucher.com/checkout/

    Please and thank you ??

    Thread Starter azn137

    (@azn137)

    Anyone?

    Thread Starter azn137

    (@azn137)

    Okay I think I fixed it. It might’ve been a theme’s bug.

    The code was

    <?php if ( get_option( 'woocommerce_enable_coupons' ) == 'yes' && get_option( 'woocommerce_enable_coupon_form_on_cart' ) == 'yes') { ?>

    And I changed it to

    <?php if ( get_option( 'woocommerce_enable_coupons' ) == 'no' || get_option( 'woocommerce_enable_coupon_form_on_cart' ) == 'no') { return; } else { ?>

    and now it works. Am I right?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘'Apply Coupon' button not showing?’ is closed to new replies.