• Hello!
    We recently moved our coupon button on our cart page and it isn’t working. I tried just about everything. Any suggestions?
    This is in our cart PHP file:

    <!-- for coupon -->
    <?php if ( wc_coupons_enabled() ) { ?>
    	<div class="coupon">
    		<label for="coupon_code"><?php esc_html_e( 'Coupon:', 'woocommerce' ); ?></label> <input type="text" name="coupon_code" class="input-text" id="coupon_code" value="" placeholder="<?php esc_attr_e( 'Coupon code', 'woocommerce' ); ?>" /> <button type="submit" class="button button_new" name="apply_coupon" value="<?php esc_attr_e( 'Apply coupon', 'woocommerce' ); ?>"><?php esc_attr_e( 'Apply coupon', 'woocommerce' ); ?></button>
    		<?php do_action( 'woocommerce_cart_coupon' ); ?>
    	</div>
    <?php } ?>
    <!-- coupons end -->
    • This topic was modified 5 years, 5 months ago by Jan Dembowski.
    • This topic was modified 5 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Coupon Code Not Working’ is closed to new replies.