Discount rules for Shopify, written without code.
Alfo runs your discount, validation, delivery, and payment rules as Shopify Functions and shows upsells in checkout. You set them up in the Shopify admin. They run at checkout.
Explore the functions
Pick a function to see what it changes.
01 / 08 · Discount Functions
Conditional Discount
Apply a discount when the cart, customer, or product meets your conditions.
- Plan
- Starter
- Example
- $5 off for first-time customers.
How it plays out
02 / 08 · Discount Functions
Buy X Get Y
Discount or give away items when the customer buys a qualifying set.
- Plan
- Starter
- Example
- Buy 3 coffees, get 1 pastry 50% off.
How it plays out
03 / 08 · Discount Functions
Volume & Tiered Discount
Increase the discount as quantity or spend crosses each threshold.
- Plan
- Pro
- Example
- Spending threshold rewards at $50, $100, and $200.
How it plays out
04 / 08 · Discount Functions
Bundle Discount
Discount a specific combination of products when all of them are in the cart.
- Plan
- Enterprise
- Example
- A starter kit with $15 off.
How it plays out
05 / 08 · Checkout Customization
Cart & Checkout Validation
Block or warn on carts that break your rules before checkout.
- Plan
- All plans
- Example
- Require a gift message. Warn on large quantities of a limited SKU.
How it plays out
06 / 08 · Checkout Customization
Checkout Upsells
Offer a related item inside Shopify Checkout when a rule matches.
- Plan
- Pro
- Example
- A protection plan for premium purchases.
How it plays out
07 / 08 · Checkout Customization
Delivery Customization
Hide, rename, or reorder delivery options by rule.
- Plan
- All plans
- Example
- Hide Express Shipping for small orders.
How it plays out
08 / 08 · Checkout Customization
Payment Customization
Hide, rename, or reorder payment methods by rule.
- Plan
- All plans
- Example
- Move Pay Later to the top for returning customers.
How it plays out
Discount functions
Four ways to discount.
Each function handles one discount pattern. The settings below come from its docs page.
- 01 / 04 Starter
Conditional Discount
Set the conditions, then set the discount that follows them. It covers product, order, and shipping discounts and reads the full set of 16 conditions.
Read the docs for Conditional DiscountExample: 10% off orders over $100 - Condition
- cartSubtotal >= 100
- Target
- Order
- Discount
- 10%
- 02 / 04 Starter
Buy X Get Y
Count the items the customer buys, then discount the items they get. The discount lands on the cheapest eligible items first.
Read the docs for Buy X Get YExample: Buy 2 get 1 free - buyQuantity
- 2
- getQuantity
- 1
- buyItemFilter
- all
- getDiscount
- 100%
- 03 / 04 Pro
Volume & Tiered Discount
Set escalating thresholds on cart quantity, cart subtotal, or line quantity. Each cart, or each line for line quantity, gets the highest tier it reaches. Incremental tiers on the order subtotal add each tier to the one below.
Read the docs for Volume & Tiered DiscountExample: Volume quantity discount - Tier type
- cartQuantity
- 2+ items
- 10%
- 5+ items
- 20%
- 10+ items
- 30%
- 04 / 04 Enterprise
Bundle Discount
Name every component the bundle needs. The discount applies once the cart holds all of them, and the scarcest component sets how many bundles count.
Read the docs for Bundle DiscountExample: Complete outfit 25% off - Component
- 1x collection Tops
- Component
- 1x collection Bottoms
- Component
- 1x tag accessory
- Discount
- 25%
Rule builder
Rules you can read.
Combine conditions with AND and OR. Pick a scenario to watch a rule assemble.
Storefront and growth
After the discount.
Bundle Builder
EnterpriseA theme block that walks shoppers through a bundle one component at a time. Every item goes into the cart together and the bundle discount applies at checkout.
Read moreAnalytics Dashboard
ProRevenue and acceptance tracking for checkout upsells and storefront bundles. Stat cards, a daily trend, and per-entity leaderboards over the last 7, 30, or 90 days.
Read moreChat Assistant
A question and answer popup on every Alfo admin page. It knows your plan and the features your plan includes, and it keeps chat history only in your browser.
Read moreConditions
Check the cart or the line.
Filter the conditions by scope. Hover or focus a tile to see the fields it reads.
- 01 Cart and customer customer
Tag Fields tags string[] Tag match 2 operators - 02 Cart and customer customer
Is Fields boolValue boolean Equality no operatorAuthenticated - 03 Cart and customer customer
Order Fields value number valueTo number Numeric 5 operatorsCount - 04 Cart and customer customer
Total Fields value number valueTo number Numeric 5 operatorsSpent - 05 Cart and customer cart
Subtotal Fields value number valueTo number Numeric 5 operators - 06 Cart and customer cart
Total Fields value number valueTo number Numeric 5 operatorsQuantity - 07 Cart and customer cart
Line Fields value number Numeric 4 operatorsCount - 08 Cart and customer cart
Attribute Fields key string values string[] Key and value 4 operators - 09 Cart and customer market Fields countryCodes string[] List match 2 operators
- 10 Product line product
Tag Fields tags string[] Tag match 2 operators - 11 Product line collection Fields collectionIds string[] Collection match 2 operators
- 12 Product line product Fields productIds string[] List match 2 operators
- 13 Product line product
Variant Fields variantIds string[] List match 2 operators - 14 Product line line
Property Fields key string values string[] Key and value 4 operators - 15 Product line line
Quantity Fields value number Numeric 4 operators - 16 Product line line
Price Fields value number Numeric 4 operators
In numbers
What each number counts.
-
8 Shopify Functions
Function types4 Discount3 Checkout rulesBundle pricing -
16 conditions
Conditions reference9 Cart-level7 Product-level -
3 discount classes
Discount classesProductOrderShipping -
0 lines of code
Core capabilitiesNo-code rule builder
Pricing
Three plans.
A seven-day free trial on Starter and Pro.
Starter
Conditional discounts and Buy X Get Y
$39 /mo
7-day free trial
- Conditional Discount
- Buy X Get Y
- Volume & Tiered Discount
- Bundle Discount
- All 3 discount classes
- Automatic + code-based discounts
- 16 conditions with AND/OR logic
- 10 Rule groups per discount
- Up to 5 Cart & Checkout Validation
- Up to 5 Delivery customization
- Up to 5 Payment customization
- Checkout upsells
- Storefront Bundle Builder
- Analytics dashboard
- In-admin chat assistant
- Rejection rules
- AI discount generation
- AI discount explanations
- Rule scheduling
- Version history
- 7-day free trial
- Works with all Shopify plans
- No per-transaction fees
Pro
Most popularAdds Volume & Tiered discounts, upsells, and analytics
$99 /mo
7-day free trial
- Conditional Discount
- Buy X Get Y
- Volume & Tiered Discount
- Bundle Discount
- All 3 discount classes
- Automatic + code-based discounts
- 16 conditions with AND/OR logic
- 20 Rule groups per discount
- Up to 10 Cart & Checkout Validation
- Up to 10 Delivery customization
- Up to 10 Payment customization
- Up to 10 Checkout upsells
- Storefront Bundle Builder
- Upsells Analytics dashboard
- In-admin chat assistant
- Rejection rules
- AI discount generation
- AI discount explanations
- Rule scheduling
- Version history
- 7-day free trial
- Works with all Shopify plans
- No per-transaction fees
Enterprise
Adds bundle discounts and the bundle builder
$299 /mo
- Conditional Discount
- Buy X Get Y
- Volume & Tiered Discount
- Bundle Discount
- All 3 discount classes
- Automatic + code-based discounts
- 16 conditions with AND/OR logic
- 40 Rule groups per discount
- Up to 30 Cart & Checkout Validation
- Up to 30 Delivery customization
- Up to 30 Payment customization
- Up to 30 Checkout upsells
- Storefront Bundle Builder
- Full Analytics dashboard
- In-admin chat assistant
- Rejection rules
- AI discount generation
- AI discount explanations
- Rule scheduling
- Version history
- 7-day free trial
- Works with all Shopify plans
- No per-transaction fees