Hi Team,
how can i hide the add to cart button on a product grid or shop page, not on the product page.
Hope you can help
Alexander
Hey Alexander,
You want to hide it on the page you linked us to? The button under the price?
Best regards,
Jordan Shannon
Yes and also on the shoppage
Best regards
Alexander
Hey!
Please try adding following code to Functions.php file in Appearance > Editor
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
Cheers!
Yigit
Hi Yigit,
that was not the trick. ;-)
Inside the private area i give u the login credentials for an easier research.
I found into the forum different solutions but they did not work.
The page is simple build with an product grid with a category filter.
Hope you can help…Enfold Yedi ;-)
Alexander
Hi,
Thank you for the info.
Please add this code in the Quick CSS field to hide the add to cart buttons.
#top.page .add_to_cart_button {
display: none !important;
}
Best regards,
Ismael
Hi team,
YOU are the very best! Code works…many thanks!!! Job done. :-)
Alexander