Created
February 13, 2021 02:06
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*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