Re: How Do I Tag or Filter Discounted Products? (Theme Avone 2.0)

How Do I Tag or Filter Discounted Products? (Theme Avone 2.0)

Miramontes
Shopify Partner
16 0 4

Hey,

I have a lot of products on my shop which has a "price" lower than "compare to price", which shows like this in the store:

aa.pngaa2.png

 

I'm trying to tag all products with this configuration, but until now I can't find any solution to group every discounted price in admin

Is there any way to add a tag to all this products, or add all to an collection

Or create a automatic collection which agroups these sale products?

Maybe with metafields tho?

Site URL: https://www.miramontes.com.br/

Theme: Avone 2.0

Replies 6 (6)

shreyhweb
Shopify Partner
633 111 116

@Miramontes 

 

Hello, 

 

You can create a seperate collection for sale products only. and add the condition with product tag sale. after that you enter the tag in tag block on collection.

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
shreyhweb
Shopify Partner
633 111 116

I mean, suppose that you have 100 sale products which has 'sale' tag. so we have to create a new collection with the name of Sale.

 

after that you enter the collection name then you can see the condition dropdown below collection title.

select products by tag on there and fill sale tag in tag field. then save it

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
Miramontes
Shopify Partner
16 0 4

I think you don't understand the question, I know this section exists:

Miramontes_0-1696535124774.png

But my problem is to tag these products, something like:

{% if product.compare_at_price > product.price %}
  doing something here maybe?
{% endif %}

or using any other viable solution

shreyhweb
Shopify Partner
633 111 116

you do it this thing for which pages?

 

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com
shreyhweb
Shopify Partner
633 111 116

You can also contact our experts via whatsapp or email.

- If You Find Our Solution Helpful Please Like And Mark As Accepted!
- Sip, savor, and support – your Coffee Tip helps us keep coding.❤️
- If You Want To Further Discussion. Then Contact - info@shreyhsoftsolutions.com

Miramontes
Shopify Partner
16 0 4

Someone knows a possible solution?