Skip to content

Instantly share code, notes, and snippets.

@MarceloGlez
Created February 13, 2021 02:06
Show Gist options
  • Save MarceloGlez/772906c603a082ee9eda6c43cdbf39a4 to your computer and use it in GitHub Desktop.
Save MarceloGlez/772906c603a082ee9eda6c43cdbf39a4 to your computer and use it in GitHub Desktop.
Personaliza el texto de ¿Tienes un cupón? en la página de finalizar compra.
/*Personalizar texto en checkout "tienes un cupon..."*/
add_filter( 'woocommerce_checkout_coupon_message', 'bbloomer_have_coupon_message');
function bbloomer_have_coupon_message() {
return '¿Tienes un cupón? 🍀 <a href="#" class="showcoupon">Introduce tu código aquí</a>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment