Shopify logo icon Shopify logo icon

Tag Shopify Products as “On Sale” Based on Compare-at Price

Use this template
  • 100% 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:

Step 1.

A Shopify product is updated

The workflow triggers when a product is updated in Shopify, capturing its details for evaluation.

A Shopify product is updated
Step 2.

Retrieve product variants

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

Retrieve product variants
Step 3.

Loop through variants

Iterates through each product variant to analyze its pricing details.

Loop through variants
Step 4.

Check if the product is on sale

Determines whether the "Compare-at Price" is higher than the current price, signaling a discount.

Check if the product is on sale
Step 5.

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.

Apply the “On Sale” tag

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 template

Loved by 3k+ businesses worldwide

  • Logo: GLDN
  • Logo: MUD/WTR
  • Logo: Bartesian
  • Logo: Allure
  • Logo: Made In Cookware
  • Logo: Rothy's
  • Logo: Jackie Smith
  • Logo: Full Focus
  • Logo: Car Living
  • icon star orange
  • icon star orange
  • icon star orange
  • icon star orange
  • icon star orange

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.

icon support docs

Knowledge Base

Training guides, tutorials, and platform documentation.

icon partners

Service Partners

Consult on automation strategy to build your workflow.

icon support team

Contact us

5-star customer support and live chat for automations.

MESA is the most customizable automation platform.