How to rename the “Have a Coupon?” message on the Woocommerce checkout page

Professional and affordable website design. Based in King's Lynn, Norfolk.

How to rename the “Have a Coupon?” message on the Woocommerce checkout page

// rename the “Have a Coupon?” message on the checkout page
function woocommerce_rename_coupon_message_on_checkout() {

return ‘Your custom text here’ . ‘ ‘ . __( ‘Click here to enter your code’, ‘woocommerce’ ) . ‘‘;
}
add_filter( ‘woocommerce_checkout_coupon_message’, ‘woocommerce_rename_coupon_message_on_checkout’ );

Leave a Reply

Your email address will not be published. Required fields are marked *