Created
November 6, 2017 09:40
-
-
Save geeac/9f245e9229778fde095e961725f08071 to your computer and use it in GitHub Desktop.
remove "add to cart" functionality
This file contains hidden or 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 Add to cart functionality | |
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart'); | |
remove_action( 'woocommerce_single_product_summary', '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