Jump to content

Pricing shop not visible on 1st load, on 2nd they are

Go to solution Solved by paul2009,

Recommended Posts

  • Replies 2
  • Views 211
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

This is being caused by the script you (or someone else! 🙂) has added to the code injection header. It is supposed to hide the sold out prices but to be totally honest it is poorly written, is unnecessarily slowing down the site and is the cause of prices being hidden because it hasn't been written to take account of Ajax Page Loading that Hyde uses (I wrote about it here). You could just disable Ajax Page Loading in Site Styles, but you'll have a slower site.

The better alternative is to remove this very old (vulnerable) jQuery and the script here first:


Then, you can use some CSS instead to hide the sold out prices instead. You can do this by adding the following to the end of Design > Custom CSS:

/* Hide SOLD OUT price on PLP */
.collection-type-products .sold-out  .grid-prices {
/* Hide SOLD OUT price on PDP */
.ProductItem.sold-out .ProductItem-details .product-price {
  display: none!important;

Squarespace are dealing with a bug right now (details), so you'll need to save this and then view your site in another browser (one where you aren't logged into Squarespace) to see the changes work.

Was this post informative? Please give feedback by clicking an icon below  ⬇️

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing 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 below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

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.