frescova Posted October 19 Share Posted October 19 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? Link to comment
paul2009 Posted October 19 Share Posted October 19 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 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
frescova Posted October 19 Author Share Posted October 19 OK - I'll give that a shot. Thank you! paul2009 1 Link to comment
frescova Posted October 21 Author Share Posted October 21 (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 by frescova Link to comment
frescova Posted October 21 Author Share Posted October 21 Same with the cart button - I can hide it, but then it hides it for all products... Link to comment
Solution Vigasan Posted October 21 Solution Share Posted October 21 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 Link to comment
frescova Posted October 21 Author Share Posted October 21 Thank you @Vigasan! That worked. Vigasan 1 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