How to hide “Details” from product in shop page
-
Hello, I’m using Woocommerce. When I have a list of products (for example in a category page) at the bottom of every product card I have two voices:
“Select options” and “Details”
as you can see at this link:
https://claudiomariani.it/negozio/nerano-pants/
I need to hide them. What’s the best way to do it?
I was able to hide “Select options”
(see it on test environment here: https://test.claudiomariani.it/new-collection-claudio-mariani-trousers/)
by adding to functions.php child theme file the following code:
function remove_woo_commerce_hooks() {
global $avada_woocommerce;
remove_action( ‘woocommerce_after_shop_loop_item’, array( $avada_woocommerce, ‘template_loop_add_to_cart’ ), 10 );
}
add_action( ‘after_setup_theme’, ‘remove_woo_commerce_hooks’ );But I’m not able to hide “Details”
Really really thanks for your help!
- The topic ‘How to hide “Details” from product in shop page’ is closed to new replies.