Created
December 21, 2016 15:04
-
-
Save nikolab/e6304490e2c73cadbb5ae83e9dffa401 to your computer and use it in GitHub Desktop.
Adds product variables directly on shop page
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
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart', 10 ); | |
add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_single_add_to_cart', 30 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment