SassyFox Posted August 16, 2020 Share Posted August 16, 2020 I would like to use the product pages on my site to display my products, but because I am not actually selling online, I need to hide the following elements: Add to Cart button Quantity area Price How do I do this? Version 7.1 Thank-you, Dianna Link to comment
SassyFox Posted August 16, 2020 Author Share Posted August 16, 2020 Does anyone know how to do this? I see there have been 10 views of my question but no answers 😟 Link to comment
Solution tuanphan Posted August 17, 2020 Solution Share Posted August 17, 2020 Add to Home > Design > Custom CSS .product-quantity-input { display: none !important; } .sqs-add-to-cart-button-wrapper { display: none !important; } .ProductItem-product-price { display: none !important; } Helloparkerg 1 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
Lucha Posted November 5, 2020 Share Posted November 5, 2020 Is there a way to hide the text 'quantity' but keeping the function of the input? Link to comment
tuanphan Posted November 5, 2020 Share Posted November 5, 2020 6 hours ago, Lucha said: Is there a way to hide the text 'quantity' but keeping the function of the input? If you share link to a product, we can check easier 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
Lucha Posted November 5, 2020 Share Posted November 5, 2020 20 minutes ago, tuanphan said: If you share link to a product, we can check easier Page: www.bytemple.co/shop p/w: ModaStill!1290 Link to comment
tuanphan Posted November 5, 2020 Share Posted November 5, 2020 1 hour ago, Lucha said: Page: www.bytemple.co/shop p/w: ModaStill!1290 Add to Home > Design > Custom CSS .quantity-label { display: none; } 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
CraftSouth Posted November 11, 2020 Share Posted November 11, 2020 (edited) Along these same lines, I would like to hide the "...every 4 months for 8 months" text that appears as a default for a subscription product. What would be even better is if I could say "...now, and again in 4 months". Is this possible? Attaching a screenshot with text circled. Edited November 11, 2020 by CraftSouth Link to comment
tuanphan Posted November 12, 2020 Share Posted November 12, 2020 18 hours ago, CraftSouth said: Along these same lines, I would like to hide the "...every 4 months for 8 months" text that appears as a default for a subscription product. What would be even better is if I could say "...now, and again in 4 months". Is this possible? Attaching a screenshot with text circled Can you share link to product in screenshot? We can check easier 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
ro12 Posted September 25, 2021 Share Posted September 25, 2021 How do I hide the price, quality and buy button on only one product? https://www.alenadesign.com/shop-online/standard-trousers-nc285 Link to comment
tuanphan Posted September 26, 2021 Share Posted September 26, 2021 10 hours ago, ro12 said: How do I hide the price, quality and buy button on only one product? https://www.alenadesign.com/shop-online/standard-trousers-nc285 Edit Additional Info >> Add a Code Block >> Insert this code <style> div.product-quantity-input, div.sqs-add-to-cart-button-wrapper, .product-price { display: none !important; } </style> owlmama 1 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
MadebyMarkham Posted December 9, 2021 Share Posted December 9, 2021 On 9/26/2021 at 9:42 PM, tuanphan said: Edit Additional Info >> Add a Code Block >> Insert this code <style> div.product-quantity-input, div.sqs-add-to-cart-button-wrapper, .product-price { display: none !important; } </style> Thanks for this, it works on the site I am working on for a client, but it doesn't remove the price from the main shop page (or you could call it a collection page). So the price still shows there. Any idea what code we would need to put in so that the price for just one product doesn't show on the main shop page? Ie I'd need a code to insert to any product that I don't want a price showing so that it doesn't show up there. Thanks! Link to comment
tuanphan Posted December 14, 2021 Share Posted December 14, 2021 On 12/10/2021 at 5:17 AM, MadebyMarkham said: Thanks for this, it works on the site I am working on for a client, but it doesn't remove the price from the main shop page (or you could call it a collection page). So the price still shows there. Any idea what code we would need to put in so that the price for just one product doesn't show on the main shop page? Ie I'd need a code to insert to any product that I don't want a price showing so that it doesn't show up there. Thanks! To hide price of a specific product on shop page, we need shop url to check. Can you share link to shop page & which product you want to hide price? BethH 1 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
BethH Posted August 19, 2022 Share Posted August 19, 2022 https://www.pacificrentalequipment.com/rental-equipment/p/wood-chipper Looking to eliminate the price listed as $0 on my clients product page -as these are rental requests not purchases. Can you help provide a code to support this? Link to comment
tuanphan Posted August 20, 2022 Share Posted August 20, 2022 12 hours ago, BethH said: https://www.pacificrentalequipment.com/rental-equipment/p/wood-chipper Looking to eliminate the price listed as $0 on my clients product page -as these are rental requests not purchases. Can you help provide a code to support this? Edit product > Additional Info > Add a Code Block > Use this code <style> .product-price { display: none; } </style> BethH and Barani 1 1 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
BethH Posted August 25, 2022 Share Posted August 25, 2022 Hi Again, Similar question. Can I remove all the prices that are listed as $0 on my product page? These are custom orders. Thanks! Link to comment
creedon Posted August 25, 2022 Share Posted August 25, 2022 58 minutes ago, BethH said: Can I remove all the prices that are listed as $0 on my product page? Please see the following. Let us know how it goes. BethH 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
esoraco Posted August 30, 2022 Share Posted August 30, 2022 Hi, I added a custom CSS I found online to make it so that the prices wouldn't show up on certain products when I add the tag "POA" to the product page. It used to hide the price, cart and show a different wording when I added this tag, but it recently stopped working and is still showing just the price. Can anyone help me troubleshoot please? Link to comment
paul2009 Posted August 30, 2022 Share Posted August 30, 2022 (edited) 24 minutes ago, esoraco said: I added a custom CSS I found online to make it so that the prices wouldn't show up on certain products when I add the tag "POA" to the product page. It used to hide the price, cart and show a different wording when I added this tag, but it recently stopped working Hello 👋 Squarespace started rolling out a 'Price Formatting' update on 23 August 2022 and this broke all existing custom code to modify prices on both Squarespace 7.0 and 7.1. If you're referring to my guide How to make some prices POA on Squarespace 7.1 then please take another look today. I've updated it in response to the 'Price Formatting' update 🙂 Edited August 30, 2022 by paul2009 esoraco 1 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
esoraco Posted August 30, 2022 Share Posted August 30, 2022 58 minutes ago, paul2009 said: Hello 👋 Squarespace started rolling out a 'Price Formatting' update on 23 August 2022 and this broke all existing custom code to modify prices on both Squarespace 7.0 and 7.1. If you're referring to my guide How to make some prices POA on Squarespace 7.1 then please take another look today. I've updated it in response to the 'Price Formatting' update 🙂 Hi Paul Thank you for the update! I tried using the updated code but it's still showing the price after the custom wording I added (though everything else - cart/etc is hidden). Is there something I'm entering wrong? I copy and pasted the code into the custom CSS panel. Link to comment
paul2009 Posted August 30, 2022 Share Posted August 30, 2022 1 hour ago, esoraco said: Is there something I'm entering wrong? Please provide a working link to the page on your site so that we can take a look. Please see How to Post a Forum Question for further guidance on the information we need. 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
esoraco Posted August 30, 2022 Share Posted August 30, 2022 4 hours ago, paul2009 said: Please provide a working link to the page on your site so that we can take a look. https://esora.co/paintings/aurora Here's a link to one of the product pages with the POA tag. Thanks! Link to comment
paul2009 Posted August 30, 2022 Share Posted August 30, 2022 (edited) Please see the updated article for the latest version of the code. I believe your site is using an older version. Edited September 1, 2022 by paul2009 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
liamgv Posted September 1, 2022 Share Posted September 1, 2022 On 8/30/2022 at 12:14 PM, paul2009 said: Hello 👋 Squarespace started rolling out a 'Price Formatting' update on 23 August 2022 and this broke all existing custom code to modify prices on both Squarespace 7.0 and 7.1. If you're referring to my guide How to make some prices POA on Squarespace 7.1 then please take another look today. I've updated it in response to the 'Price Formatting' update 🙂 I also tried using the code (with the cost of 321,000.00) and unfortunately the price was still showing and not as POA. This is the old code we used to use up until a couple of days ago, it changed the price to POA and hid the add to cart button: <script type='text/javascript'> //Where products have 321,000.00 price, change to POA window.onload=function(){ var elements = document.querySelectorAll('.product-price .sqs-money-native'); Array.prototype.forEach.call(elements, function (price) { if (price.textContent === '321,000.00') { price.parentNode.textContent = 'POA'; for (let el of document.querySelectorAll('.sqs-add-to-cart-button-wrapper')) el.style.display = 'none'; } }); } </script> Link to comment
liamgv Posted September 12, 2022 Share Posted September 12, 2022 On 8/30/2022 at 7:25 PM, esoraco said: https://esora.co/paintings/aurora Here's a link to one of the product pages with the POA tag. Thanks! Hi there, I have just been to your website and I see this image now has a new statement, how did you achieve this? many thanks. 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