Jump to content

Not for Sale Product

Go to solution Solved by Vigasan,

Recommended Posts

Posted

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?

 

Posted
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  ⬇️

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.

Posted (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 by frescova
  • Solution
Posted
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 TrainerSquarespace 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 PluginsBook Live Help | Squarespace Video Tutorials | Buy Me a Coffee

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.