peppermint123 Posted February 4, 2023 Share Posted February 4, 2023 Hi there, Appreciate any help. I have a total of 7 individual product listing pages -- I want to remove the "Add to Cart" and "Quantity" buttons from 6 of these pages while keeping the default template design that has those buttons. Currently, I have deployed this code: .sqs-add-to-cart-button-wrapper, .product-quantity-input { display:none!important; } which has removed the "add to cart" and "product quantity" button on ALL my product listing pages, including the one page that I wish to have by default. This is the page I want to have those buttons/features to remain: https://www.mettlewares.com/all-products/p/gift-card-7lk6p-e26hn Since the layout is determined by the commerce app, I've not been able to make changes by indicating the sectionID of the page. Is there a better way to go about doing this? Thanks, I greatly appreciate any help you can give. Link to comment
tuanphan Posted February 8, 2023 Share Posted February 8, 2023 The url doesn't exist. Can you check it again? You can also try edit that product > Additional Info > Add a Code Block > Use this code <style> .sqs-add-to-cart-button-wrapper, .product-quantity-input { display: block !important; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment