Merge pull request #4483 from daverogers/master
Add coupon code placeholder to cart template
This commit is contained in:
commit
956de3ce53
|
@ -115,7 +115,7 @@ do_action( 'woocommerce_before_cart' ); ?>
|
|||
<?php if ( WC()->cart->coupons_enabled() ) { ?>
|
||||
<div class="coupon">
|
||||
|
||||
<label for="coupon_code"><?php _e( 'Coupon', 'woocommerce' ); ?>:</label> <input name="coupon_code" class="input-text" id="coupon_code" value="" /> <input type="submit" class="button" name="apply_coupon" value="<?php _e( 'Apply Coupon', 'woocommerce' ); ?>" />
|
||||
<label for="coupon_code"><?php _e( 'Coupon', 'woocommerce' ); ?>:</label> <input name="coupon_code" class="input-text" id="coupon_code" value="" placeholder="<?php _e( 'Coupon code', 'woocommerce' ); ?>" /> <input type="submit" class="button" name="apply_coupon" value="<?php _e( 'Apply Coupon', 'woocommerce' ); ?>" />
|
||||
|
||||
<?php do_action('woocommerce_cart_coupon'); ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue