We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: Code to suppress sales stickers on collection pages

Solved

Code to suppress sales stickers on collection pages

MRPTerri
New Member
13 0 0

Hi, I have a bundle page that I want to use comparative pricing with, but I don’t want the auto sale sticker to pop up on that particular collection. 

is there a way to suppress this sticker just on this collection? Ive made it white for now but it won’t serve me for future sales where I want the sticker, and on mobile you can see the white sticker over the top of some elements. 

if you can help with some code I’d be grateful 

 

using Turbo theme

 

This is my site; mrpoppinsandco.com

on bundles collection. 

Accepted Solution (1)
suyash1
Shopify Partner
11112 1367 1751

This is an accepted solution.

@MRPTerri - yes it will on all, but if you want on specific collection only then add this css

 

.collection-bundles-page .price-ui-badges{display: none; visibility:hidden;}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com

View solution in original post

Replies 12 (12)

biznazz101
Shopify Partner
494 50 104

Not confident it will work but can try adding this to the collection sections custom CSS settings:

.price-ui-badges price-ui-badges--round {visibility: hidden}

Don't hesitate to reach out for more help with your store.
SEE OUR TASK STORE or check us out via our profile! FREE STORE AUDIT
MRPTerri
New Member
13 0 0

Thanks I’ll try and let you know 

MRPTerri
New Member
13 0 0

thanks that didn't work but the next reply did so thanks for the offer.

suyash1
Shopify Partner
11112 1367 1751

@MRPTerri - add this css to the very end of your styles.css file and check

.price-ui-badges{display: none; visibility:hidden;}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
MRPTerri
New Member
13 0 0

I only want it suppressed on one specific collection though. Won’t that supress it on all collections? 

suyash1
Shopify Partner
11112 1367 1751

This is an accepted solution.

@MRPTerri - yes it will on all, but if you want on specific collection only then add this css

 

.collection-bundles-page .price-ui-badges{display: none; visibility:hidden;}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
MRPTerri
New Member
13 0 0

awesome that worked. thanks so much

 

LaurenMcCreery
Excursionist
33 1 5

Hi @suyash1 - do you know if this is possible on one type of sticker on one collection only? My new in collection page is currently showing Black Friday stickers and New in stickers. I don't want the new in stickers to show - they're covering the products too much. Any idea please? https://www.lespetits.fr/

Many thanks, Lauren

suyash1
Shopify Partner
11112 1367 1751

@LaurenMcCreery -please share your collection page where yo want to hide them

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
LaurenMcCreery
Excursionist
33 1 5

Here you go! https://www.lespetits.fr/collections/new-in

 

It's just the "new in" i want to hide, the black friday i want to keep. Thank you so much 🙂

suyash1
Shopify Partner
11112 1367 1751

@LaurenMcCreery - please add this css to the very end of your styles.css file and check

.price-ui-badge__sticker.price-ui-badge__sticker--new {display: none; visibility: hidden;}
To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com
LaurenMcCreery
Excursionist
33 1 5

It worked!! Thank you so so much 🙂