/**
* @snippet Edit "Have a Coupon" message @ WooCommerce Checkout
* @author Shadowtek Web Solutions
* @compatible WooCommerce 5
*/
add_filter( 'woocommerce_checkout_coupon_message', 'stek_have_coupon_message');
function stek_have_coupon_message() {
return '<i class="fa fa-ticket" aria-hidden="true"></i> Have a coupon? <a href="#" class="showcoupon">Click here to enter your discount code</a>';
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter