frescova Posted October 19, 2023 Posted October 19, 2023 I need to display a product that is not for sale. Basically, the product is just to provide information so a customer can reach out to me (my client) so they can gather additional information. I was trying at first to set it up as a sold out product but the add to cart, sold out labels and all other product info shows up. I used css to hide that info, but it also affects other products. Any ideas? LearnMusic 1
paul2009 Posted October 19, 2023 Posted October 19, 2023 10 hours ago, frescova said: I need to display a product that is not for sale. Basically, the product is just to provide information so a customer can reach out to me (my client) so they can gather additional information. If you set the stock level to "1" this will hide the quantity box. You can then hide the cart button with some custom CSS and add a link to the product description that takes users to contact/enquiry form. The CSS will depend on your site version/template, but there's a similar thread here that may help. Post back if you need more help. Did this help? Please give feedback by clicking an icon below ⬇️ frescova 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.
frescova Posted October 19, 2023 Author Posted October 19, 2023 OK - I'll give that a shot. Thank you! paul2009 1
frescova Posted October 21, 2023 Author Posted October 21, 2023 (edited) So this sort of worked. I added this css - #yui_3_17_2_1_1697856815327_344 div.product-price { display: none; } when I'm on the page it hides de price, but then, if I navigate out and come back, the price pops back up. it's like the id "#yui_3_17_2_1_1697856815327_344" changes. I can't find another way to identify "one" specific product. The section ID for all products is the same, so I can't target that either... Edited October 21, 2023 by frescova
frescova Posted October 21, 2023 Author Posted October 21, 2023 Same with the cart button - I can hide it, but then it hides it for all products...
Solution Vigasan Posted October 21, 2023 Solution Posted October 21, 2023 4 minutes ago, frescova said: So this sort of worked. I added this css - #yui_3_17_2_1_1697856815327_344 div.product-price { display: none; } when I'm on the page it hides de price, but then, if I navigate out and come back, the price pops back up. it's like the id "#yui_3_17_2_1_1697856815327_344" changes. I can't find another way to identify "one" specific product. The section ID for all products is the same, so I can't target that either... #YUI's change on refresh. Just add a CODE block to the ADDITIONAL DETAILS section of the product and only add .product-price { display: none; } If an answer I provide helps you, please mark it as the answer so others can easily access it as well. I'm a Squarespace Authorized Trainer, Squarespace Expert, and Circle Member and I've been helping my clients as well as those here in the forum and in various Squarespace groups with custom coding and support for Squarespace websites. I would love to help you in any way I can. Squarespace Plugins | Book Live Help | Squarespace Video Tutorials | Buy Me a Coffee
frescova Posted October 21, 2023 Author Posted October 21, 2023 Thank you @Vigasan! That worked. Vigasan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment