Home Forums WoodMart support forum How do I hide the buy and add to cart button on a single product (and replace..

How do I hide the buy and add to cart button on a single product (and replace..

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #496725

    russcrowley
    Participant

    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.
    #496784

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body.single-product form.cart {
        display:none;
    }

    Best Regards

    #496823

    russcrowley
    Participant

    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?

    #497067

    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

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)