WordPress.org

Support

Support » Plugins and Hacks » [Resolved] 'Apply Coupon' button not showing?

[Resolved] 'Apply Coupon' button not showing?

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

    @jameskoster

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

    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: http://globalretoucher.com/checkout/

    Please and thank you 🙂

    Anyone?

    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 ‘[Resolved] 'Apply Coupon' button not showing?’ is closed to new replies.