

Tag Shopify Products as “On Sale” Based on Compare-at Price
Use this template100% fully customizable
Includes 7-day free trial
Live chat, email support
Setup services available
Drive sales and attract attention to discounted products by tagging them as “On Sale” whenever the Compare-at price is higher than the actual price. This MESA workflow template automatically applies the “On Sale” tag, allowing you to create smart collections that highlight value and encourage purchases. Enhance your customers’ shopping experience and stand out from competitors by showcasing promotions effectively.
Frequently asked questions:
What is a template?
Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.
Can I personalize a template?
Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.
Can MESA handle the setup for me?
Yes, check out our Expert Workflow Setup. We'll collaborate with you to craft the perfect workflow so you're up and running with confidence.
How this template works:
A Shopify product is updated
The workflow triggers when a product is updated in Shopify, capturing its details for evaluation.

Retrieve product variants
Fetches all variants associated with the updated product to check for potential price discounts.

Loop through variants
Iterates through each product variant to analyze its pricing details.

Check if the product is on sale
Determines whether the "Compare-at Price" is higher than the current price, signaling a discount.

Apply the “On Sale” tag
Adds an "On Sale" tag to the product if at least one of its variants is discounted, helping to organize and highlight discounted items in collections.

Tag Shopify Products as “On Sale” Based on Compare-at Price
100% customizable. No code required.Rated 4.8 out of 5 stars on the Shopify App Store
Use this templateLoved by 3k+ businesses worldwide
Fully supported by automation experts.
Get help from our team of experts and industry partners, who are dedicated to ensuring your MESA experience is smooth, efficient, and tailored to your exact business needs.