Documentation
Overview
Pilot Scheduled Discounts adds automatic order-level discount rules to your Shopify store, evaluated at checkout by a Shopify Function. There is no cron job, no price rewriting, and no ongoing maintenance once a rule is set.
How it works
- You install the App. It registers a Shopify Function in your store.
- You create one Scheduled Discount, which holds a list of rules in a Shopify metafield.
- On every cart, Shopify runs the Function. The Function evaluates each rule against the current weekday, hour, and buyer type, and applies the highest-amount matching rule as an order discount.
Rule schema
Each rule has the following fields:
- Name — shown to the buyer next to the discount line at checkout.
- Enabled — toggle a rule off without deleting it.
- Days of week — empty means every day; otherwise the rule matches only on the selected days.
- Time window — optional
HH:MMstart and end. If start is after end, the window wraps past midnight. - B2B only — match only company buyers (requires Shopify Plus B2B).
- Discount type —
percentageorfixed_amount. - Discount value — number, applied to the cart subtotal.
Combining rules
The App never stacks its own rules. The rule yielding the highest absolute discount amount on the current subtotal wins.
Combination with manual discount codes and other automatic discounts is governed by Shopify's standard "Combinations" setting on the discount. The App ships with combinations disabled by default; toggle them on in the native Shopify discount editor if you need stacking with other discount sources.
Time zone
The shop's local time, as reported by Shopify to the Function. Configure it in Shopify admin → Settings → General → Standards and formats → Timezone.
Limitations
- Order-level discounts only. Product- and shipping-level discounts are not yet supported.
- Hour-level granularity. Rules cannot start or end on a 30-minute boundary.
- B2B condition requires a Shopify Plus B2B store.
Related pages
- Tutorial — step-by-step setup.
- FAQ — common questions.
- Changelog — version history.
- Privacy Policy — what we store and why.
Contact
Email maxkzboiko@gmail.com.