Last active
January 30, 2022 09:55
-
-
Save MarceloGlez/7c62dd4d52c323383c66edf57f13e334 to your computer and use it in GitHub Desktop.
Oculta o Muestra el campo tienes un cupón en checkout Wocommerce
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
/*Oculta el campo ¿Tienes un cupon? en checkout*/ | |
remove_action( 'woocommerce_before_checkout_form', 'woocommerce_checkout_coupon_form'); | |
/*Muestra el campo ¿Tienes un cupon? en checkout*/ | |
add_action( 'woocommerce_after_checkout_form', 'woocommerce_checkout_coupon_form' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment