How do I hide the buy and add to cart button on a single product (and replace..
-
Hi,
I’m trying to hide the buy and the add to cart buttons (and other payment options on a single product ID (ID: 226808) but the css I’m adding to the custom css part isn’t working. What would I need to add and how?
Thanks,
Russ
Attachments:
You must be
logged in to view attached files.
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
body.single-product form.cart {
display:none;
}
Best Regards
I only want to suppress the cart on a single product (ID: 226808), not all of them. There’s no product code in your code, so please confirm?
Hello,
Please replace the code with this one:
body.postid-226808 form.cart {
display:none;
}
If you have any questions please feel free to contact us.
Best Regards