Discount rules for Shopify, written without code.

Alfo runs your discount, validation, upsell, delivery, and payment rules as Shopify Functions. You set them up in the Shopify admin. They run at checkout.

Alfo - Discount Functions

What it does

Eight functions, one rule engine.

Discount functions

Four ways to discount.

Conditional Discount

Starter

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 more

10% off orders over $100

Condition cartSubtotal >= 100
Target Order
Discount 10%

Buy X Get Y

Starter

Count the items the customer buys, then discount the items they get. The discount lands on the cheapest eligible items first.

Read more

Buy 2 get 1 free

buyQuantity 2
getQuantity 1
buyItemFilter all
getDiscount 100%

Tiered Discount

Pro

Set escalating thresholds on cart quantity, cart subtotal, or line quantity. The customer gets the highest tier the cart reaches.

Read more

Volume quantity discount

Tier type cartQuantity
2+ items 10%
5+ items 20%
10+ items 30%

Bundle Discount

Enterprise

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 more

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.

VIP Members Only Product discount
Active
Customer tag is VIP
AND
Cart subtotal greater than $100
THEN
Apply 25% product discount
Winter Clearance Product discount
Active
Product tag is winter-2024
AND
Customer authenticated is true
AND
Cart quantity at least 2
THEN
Apply 30% product discount
Volume Discount Order discount
Active
Product tag is office-supplies
THEN
5+ items 10% off
10+ items 15% off
25+ items 25% off
US Free Shipping Delivery
Active
Market is United States
AND
Cart subtotal greater than $50
THEN
Free Standard Shipping

Storefront and growth

After the discount.

Conditions

Sixteen conditions.

Nine on the cart and customer. Seven on the product line.

customerTagcustomerIsAuthenticatedcustomerOrderCountcustomerTotalSpentcartSubtotalcartTotalQuantitycartLineCountcartAttributemarket
productTagcollectionproductproductVariantlinePropertylineQuantitylinePrice

8

Shopify Functions

16

conditions

3

discount classes

0

lines of code

Pricing

Three plans.

A three-day free trial on Starter.

Monthly Annual Save 15%

Starter

Conditional discounts and Buy X Get Y

$39 /mo

3-day free trial

Start free trial
Discount Functions
  • Conditional Discount
  • Buy X Get Y
  • Tiered Discount
  • Bundle Discount
Discount Configuration
  • All 3 discount classes
  • Automatic + code-based discounts
  • 16 conditions with AND/OR logic
  • 10 Rule groups per discount
Checkout Customization
  • Up to 5 Cart & Checkout Validation
  • Up to 5 Delivery customization
  • Up to 5 Payment customization
  • Checkout upsells
Storefront & Growth
  • Storefront Bundle Builder
  • Analytics dashboard
  • In-admin chat assistant
Advanced Features
  • Rejection rules
  • AI discount generation
  • AI discount explanations
  • Rule scheduling
  • Version history
Platform & Support
  • 3-day free trial
  • Works with all Shopify plans
  • No per-transaction fees

Pro

Most popular

Adds tiered discounts, upsells, and analytics

$99 /mo

Get started
Discount Functions
  • Conditional Discount
  • Buy X Get Y
  • Tiered Discount
  • Bundle Discount
Discount Configuration
  • All 3 discount classes
  • Automatic + code-based discounts
  • 16 conditions with AND/OR logic
  • 20 Rule groups per discount
Checkout Customization
  • Up to 10 Cart & Checkout Validation
  • Up to 10 Delivery customization
  • Up to 10 Payment customization
  • Up to 10 Checkout upsells
Storefront & Growth
  • Storefront Bundle Builder
  • Upsells Analytics dashboard
  • In-admin chat assistant
Advanced Features
  • Rejection rules
  • AI discount generation
  • AI discount explanations
  • Rule scheduling
  • Version history
Platform & Support
  • 3-day free trial
  • Works with all Shopify plans
  • No per-transaction fees

Enterprise

Adds bundle discounts and the bundle builder

$299 /mo

Get started
Discount Functions
  • Conditional Discount
  • Buy X Get Y
  • Tiered Discount
  • Bundle Discount
Discount Configuration
  • All 3 discount classes
  • Automatic + code-based discounts
  • 16 conditions with AND/OR logic
  • 40 Rule groups per discount
Checkout Customization
  • Up to 30 Cart & Checkout Validation
  • Up to 30 Delivery customization
  • Up to 30 Payment customization
  • Up to 30 Checkout upsells
Storefront & Growth
  • Storefront Bundle Builder
  • Full Analytics dashboard
  • In-admin chat assistant
Advanced Features
  • Rejection rules
  • AI discount generation
  • AI discount explanations
  • Rule scheduling
  • Version history
Platform & Support
  • 3-day free trial
  • Works with all Shopify plans
  • No per-transaction fees

Set up your first rule today.

Install on Shopify