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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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  ⬇️

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and 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 free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

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.