Schedule a Site-Wide Sale on Shopify with Automated Start and End Dates

7 min setup
No coding required
Runs automatically

Plan ahead for your next promotion by scheduling a site-wide sale on Shopify. This MESA workflow template automatically applies a discount to all products on your chosen start date and removes it on a set end date, allowing you to run timely promotions without manual adjustments. Perfect for holiday sales or special events, this automation makes managing discounts seamless.

schedule icon
Schedule sale reset
Retrieve list of products
Loop through products
Loop through variants
Check if "Compare At" price exists
Execute custom logic
Shopify logo icon
Update product variant pricing

How it works

7 steps to automate this task automatically.

schedule icon

Schedule sale reset

App connector: Schedule • Time to complete: 1 minute

Set a specific date and time to trigger the workflow, initiating the process to reset site-wide sale prices.

Retrieve list of products

App connector: Shopify • Time to complete: 1 minute

Fetch all products from the Shopify store to prepare for price updates.

Loop through products

App connector: Loop • Time to complete: 1 minute

Iterate through each product in the Shopify catalog to access individual product details.

Loop through variants

App connector: Loop • Time to complete: 1 minute

Iterate through each variant of the current product to check and update variant-specific pricing.

Check if "Compare At" price exists

App connector: Shopify • Time to complete: 1 minute

Filter to ensure that only variants with a non-empty "Compare At" price are processed for updates.

Execute custom logic

App connector: Code • Time to complete: 1 minute

Run custom code (if needed) to handle additional conditions or logic for the sale reset.

Shopify logo icon

Update product variant pricing

App connector: Shopify • Time to complete: 1 minute

Reset the variant price to the "Compare At" price and clear the "Compare At" field, completing the sale reset for each variant.

Trusted by 1,000+ Shopify merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

automate this task automatically

Get setup in 7 minutes.

Try this template →

Frequently asked questions

What is a template?

MESA templates are fully pre-configured workflows built and vetted by Shopify Experts. Unlike competitor templates that provide basic scaffolds requiring extensive setup, MESA templates come with all data variables properly mapped, required fields configured, and steps ready to activate. You can turn them on immediately and start automating.

Can I customize a template?

Absolutely! While our templates work out-of-the-box, every step can be personalized to match your exact business requirements. Add conditional logic, integrate additional apps, or build more sophisticated workflows. MESA's templates provide a solid foundation that you can expand as needed.

Are templates free?

Yes! Our entire library of expert-built, production-ready templates is free to use. Unlike platforms that charge for premium templates or provide only basic scaffolds, MESA gives you access to hundreds of fully-configured, vetted workflows at no additional cost.

Make this template your own!

Customize this workflow even further:

Set custom delays
Schedule actions to trigger after a set time period, such as sending follow-up emails 3 days after an event.
Chain multiple actions
Connect several steps together in one workflow, like tagging data, updating records, and notifying your team simultaneously.
Store data in tables
Save order details, customer preferences, or custom metrics in your own database for reference and reporting.
Deploy AI agents for smart decisions
Let AI agents evaluate complex scenarios and choose the right action path based on your defined rules.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

Ready to automate this task automatically?

7-day free trial • 7 min setup • Cancel anytime

Need help? Our automation experts will help you personalize this workflow for free. Contact support