Schedule Site-Wide Sales on Shopify | Automate Discount Management
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.
How it works
7 steps to automate this task automatically.
Schedule sale reset
App connector: [Schedule](/content/apps/schedule/integrate "View Schedule integration page"/index.html)• 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](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• Time to complete: 1 minute
Fetch all products from the Shopify store to prepare for price updates.
Loop through products
App connector: [Loop](/content/apps/loop/integrate "View Loop integration page"/index.html)• Time to complete: 1 minute
Iterate through each product in the Shopify catalog to access individual product details.
Loop through variants
App connector: [Loop](/content/apps/loop/integrate "View Loop integration page"/index.html)• 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](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• 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](/content/apps/custom/integrate "View Code integration page"/index.html)• Time to complete: 1 minute
Run custom code (if needed) to handle additional conditions or logic for the sale reset.
Update product variant pricing
App connector: [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)• 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.
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.
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.
Are templates free?
Yes! Our entire library of expert-built, production-ready templates is free to use.
Make this template your own!
Customize this workflow even further:
- Set custom delays
- Chain multiple actions
- Store data in tables
- Deploy AI agents for smart decisions
You're in good company
Avg. App Store rating: 4.9/5
Merchant reviews: 157
Avg. time saved per week: 3.5 hrs