Jump to content

Hide prices on main shop page only

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://strawberry-lychee-rrts.squarespace.com

Hi there. Client has asked if we can hide the prices for all products on the main shop page, but still have them appear on individual product pages. I've tried adding:

.product-price { display:none }

To the header injection but this hides all the prices everywhere, not just on the main page. Is there a way to selectively hide just the prices on the top-level page?

Thanks in advance 🙂

Link to comment
5 minutes ago, Foxhandybread said:

Site URL: https://strawberry-lychee-rrts.squarespace.com

Hi there. Client has asked if we can hide the prices for all products on the main shop page, but still have them appear on individual product pages. I've tried adding:

.product-price { display:none }

To the header injection but this hides all the prices everywhere, not just on the main page. Is there a way to selectively hide just the prices on the top-level page?

Thanks in advance 🙂

I can see the the price on main shop page. Is your issue solved?

image.thumb.png.228c8aa07a3feaa98df9119c6a94a65c.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
25 minutes ago, bangank36 said:

I can see the the price on main shop page. Is your issue solved?

image.thumb.png.228c8aa07a3feaa98df9119c6a94a65c.png

That's weird, I replied to this but it disappeared? Thanks for your reply

Issue not solved as the prices are hidden on both the main shop page and also the individual product pages—I can't see any prices anywhere but I'd like to still see them when you click through to individual products

Link to comment
  • Solution
23 hours ago, Foxhandybread said:

Client has asked if we can hide the prices for all products on the main shop page, but still have them appear on individual product pages.

Yes, sure.

Add this to Design > Custom CSS:

.products.collection-content-wrapper .grid-main-meta .grid-prices {
    display: none;
}

This refers to the 'grid-prices' so should only apply to the Product list Page and not Product Detail Pages.

  If this post has helped you, please click a 'Like' or 'Thanks' icon below  ⬇️

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.