Guest Posted August 14, 2020 Share Posted August 14, 2020 Site URL: https://sanitisethis.co.uk I have managed to show the quantity field on a number of my products. However following the same logic hasn't worked for this one: https://www.sanitisethis.co.uk/shop/community-spirit-hand-sanitiser-full-bundle This is the CSS I have been adding body#item-5f36419e3e7bd81b799c3dd0 .product-quantity-input { display: block !important; } Is there a reason it just wouldn't work for this item, or have I done something wrong? Link to comment
paul2009 Posted August 14, 2020 Share Posted August 14, 2020 The quantity field won’t appear when the stock level is 1, because the customer cannot order more than one. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Guest Posted August 14, 2020 Share Posted August 14, 2020 4 minutes ago, paul2009 said: The quantity field won’t appear when the stock level is 1, because the customer cannot order more than one. I knew it would be something obvious!😄 Thank you Link to comment
Guest Posted September 17, 2020 Share Posted September 17, 2020 Opening this back again as I have tried to do the same CSS on another of my products with no luck? https://www.sanitisethis.co.uk/shop/p/wall-bracket body#item-5f0726f6562ba54c0887be0e.product-quantity-input { display: block !important; } Link to comment
paul2009 Posted September 17, 2020 Share Posted September 17, 2020 41 minutes ago, SanitiseThis said: Opening this back again as I have tried to do the same CSS on another of my products with no luck? That's because you have this in your CSS that is hiding it for all products and is overriding other settings: .product-quantity-input { display: none !important; } Try replacing the CSS above with this instead: .ProductItem-details .product-quantity-input { display: none; } If a post helps you, please click a "Like" option below ↘️ Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Guest Posted September 17, 2020 Share Posted September 17, 2020 3 minutes ago, paul2009 said: That's because you have this in your CSS that is hiding it for all products and is overriding other settings: .product-quantity-input { display: none !important; } Try replacing the CSS above with this instead: .ProductItem-details .product-quantity-input { display: none; } If a post helps you, please click a "Like" option below ↘️ Hi Paul, This doesn't work unfortunately, any other ideas? Link to comment
paul2009 Posted September 17, 2020 Share Posted September 17, 2020 There should be a space between #item-5f0726f6562ba54c0887be0e and .product-quantity-input, but it doesn't look like you have one. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
Guest Posted September 17, 2020 Share Posted September 17, 2020 5 minutes ago, paul2009 said: There should be a space between #item-5f0726f6562ba54c0887be0e and .product-quantity-input, but it doesn't look like you have one. That's it! Thank you😄 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.