charlesjw Posted Saturday at 01:58 AM Share Posted Saturday at 01:58 AM Hello. I've set up an ecommerce site and I need to hide the price, purchase CTA and Quantity for just one category. I followed the instructions in the link below and I was able to hide the price and CTA but it would apply to the whole store, not the category I was trying to target. Here is the code I'm using: <style> [data-store-category=“Biologique-Recherche”].list-grid .grid-prices, .product-price, .product-quantity-input, .sqs-add-to-cart-button-wrapper { display: none; } </style> Anyone have any insight into what I'm doing wrong? Thanks! Link to comment
charlesjw Posted Saturday at 02:58 AM Author Share Posted Saturday at 02:58 AM FYI the site is: https://www.daniellegambleskin.com Link to comment
tuanphan Posted Monday at 08:47 AM Share Posted Monday at 08:47 AM On 6/29/2024 at 9:58 AM, charlesjw said: FYI the site is: https://www.daniellegambleskin.com You will need to use tag to do this. First, create a tag with name: no cart Next, assign it for all products belong category: Biologique-Recherche Next, use this code to Website Tools > CUSTOM CSS /* hide */ .tag-no-cart { .product-quantity-input, .sqs-add-to-cart-button-wrapper, .product-price { display: none !important; }} 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