Hi there,
None of the mentioned solutions here https://theme.co/apex/forum/t/remove-button-woocommerce-product-archive/40070 worked for us as we need to Hide ‘add to cart’ button ONLY on woocommerce shop/category pages, but we still need it to display in the product page
Thanks
Sharon
Hi Sharon,
To achieve that, you can try adding this in Theme Options > CSS
.archive.woocommerce .add_to_cart_button {
display:none;
}
Hope that helps
Sorry it doesn’t work…
How can we fix this?
Hi @DC-Team,
May I know the exact URL and sample where the add to cart button should be hidden? The provided sample URL from that thread was for archive page with a button for the external link instead of add cart button. Hence, the last provided CSS should work and I tried it again and it works.
.button.product_type_external {
display: none !important;
}
or
.archive..button.product_type_external {
display: none !important;
}
And where did you added it? I checked and it’s not there, not even on child theme’s style.css
Or that user isn’t related to you and your site, then please pride your site’s URL with this buttons.
Thanks!
It’s OK - we used Elementor to fix it
Glad to hear you got it sorted.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.