Remove Add to Cart button From Quick View
-
Hi
I am using “Quick View WooCommerce” Plugin.
It’s A nice Plugin.I have a requirement. I want to remove the Quantity and Add to Cart button from Quick View popup.
Screenshot: https://prnt.sc/oauv5t
Please guide me how can I do this.
Also I removed the links of single product pages from products using the below code. But After activating the plugin, this code is not working.
function add_remove_hooks() {
remove_action( ‘woocommerce_before_shop_loop_item’, ‘woocommerce_template_loop_product_link_open’, 10 );
remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_product_link_close’, 5 );
}
add_action( ‘after_setup_theme’, ‘add_remove_hooks’ );How can fix this. Please help
Waiting for your response.
Thanks
- The topic ‘Remove Add to Cart button From Quick View’ is closed to new replies.