Jump to content

Hide Price/Show Price Question

Recommended Posts

  • Replies 1
  • Views 258
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

1 hour ago, Blue2032guy said:

I have two different stores on my page. I want to show the prices for one store, and hide the prices for the other store. Is there a way to do this? Every time I try editing either store's format, the changes affect the other one. Thanks.

If you have several Store pages on your website, many of the Squarespace settings will affect all Store pages. If you want to affect only one page, you will need to use some custom CSS. You can limit the effect of the CSS to one store page by referring to its unique Collection reference - a long serial hex number prefixed with "collection-". 

For example, if your store page had the ID "collection-5a6c5f0724a694fb932ab81f", you could use this custom CSS:

#collection-5a6c5f0724a694fb932ab81f, .collection-5a6c5f0724a694fb932ab81f {
  .product-price {
    display:none!important;
  }
}

This uses both the Collection ID (prefixed "#") and Collection Class (prefixed ".") because one refers to the Product List Page (PLP) and the other to the Product Detail Page (PDP). You can add further collections separated by commas to apply this to other Store pages.

If you need more specific advice, we'll need a working link to the page you want to change 🙂

Did this help? Please give feedback by clicking an icon below  ⬇️

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

Link to comment

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.