Introduction
What is Alfo - Discount Functions?
Alfo - Discount Functions is a Shopify app. You build discount rules in Shopify Admin with a no-code rule builder, and Shopify Functions run them at checkout as WebAssembly modules. This gives you fast, reliable discounts with no custom code required.
Why Does It Exist?
Shopify Scripts (the Ruby-based Script Editor) were deprecated on August 28, 2025 and will be fully removed on June 30, 2026. Alfo is the modern replacement, built on the Shopify Discount Function API. It gives you everything Scripts could do and more, using Shopify’s current architecture for discount extensibility.
Core Capabilities
| Capability | What it does | Plan |
|---|---|---|
| No-code rule builder | Design discount logic with a visual interface. No programming required. | All plans |
| Four discount functions | Conditional, Tiered, Buy X Get Y, and Bundle, each built for a specific discount pattern. | Varies by function |
| Payment customization | Hide, rename, reorder payment methods, set payment terms, or require order review based on cart and customer conditions. | All plans |
| Delivery customization | Hide, rename, or reorder delivery options based on cart, customer, product, and address conditions. | All plans |
| Cart & checkout validation | Block or warn buyers at checkout based on cart, customer, product, and delivery-address conditions. Rules are managed inside Shopify’s native Checkout settings. | All plans |
| Checkout upsells | Offer pre-purchase products inside Shopify Checkout with one-click Add to order. | Pro+ |
| Storefront bundle builder | A multi-step bundle wizard rendered as a theme block, with server-side catalog pricing. | Enterprise |
| Merchant analytics dashboard | Revenue tracking, top-rule leaderboards, and daily trends for upsells and bundles. | Pro+ |
| In-admin AI chat assistant | Free, plan-aware Q&A helper on every Alfo screen. Chat history stays in your browser; Alfo keeps no server-side copy. | All plans |
| Three discount classes | Apply discounts to Products, Orders, or Shipping. | All plans |
| 16 conditions with AND/OR logic | Build precise targeting rules using cart-level and product-level conditions. | All plans |
| Composable rules with configurable strategies | Combine multiple rule groups within a single discount function and control how they interact. | All plans |
| AI-powered configuration | Generate, update, and explain discount configs with natural language. | Explain: free on all plans. Generate: Pro+ |
| Rule scheduling | Set date-based activation windows on rule groups for seasonal sales and flash promotions. | Pro+ |
| Native Shopify integration | Configure everything inside Shopify Admin through Admin UI Extensions. No external dashboards. | All plans |
| Automatic and Code-based discounts | Support for both discount types across all four functions. | All plans |
Function Types at a Glance
| Type | Trigger | Applies To | Discount Classes | Plan |
|---|---|---|---|---|
| Conditional | Conditions met | Targeted items / order / shipping | Product, Order, Shipping | Starter+ |
| Tiered | Threshold reached | Same, scales with tier | Product, Order, Shipping | Pro+ |
| Buy X Get Y | Buy quantity met | ”Get” items only | Product, Shipping | Starter+ |
| Bundle | All components present | Bundle items | Product, Shipping | Enterprise |
Checkout Customization
Beyond discounts, Alfo provides four additional Shopify Functions and extensions that control the checkout experience:
| Type | Actions | Conditions | Plan |
|---|---|---|---|
| Cart & Checkout Validation | Block, Warn | Cart + Product + Delivery conditions | All plans |
| Payment Customization | Hide, Rename, Move, Payment Terms, Order Review | Cart + Product conditions | All plans |
| Delivery Customization | Hide, Rename, Move | Cart + Product + Delivery address conditions | All plans |
| Checkout Upsells | Offer variants at a chosen step | Cart + Customer conditions | Pro+ |
These functions control who completes checkout, how payment and delivery options are presented, and what offers buyers see along the way. All of them run on the same condition-based rule system as your discount functions.
Grow Beyond Discounts
Alfo also ships three features that extend past the rule builder itself:
| Feature | What it does |
|---|---|
| Bundle Builder | Enterprise-only storefront wizard that walks shoppers through assembling a bundle one component at a time, rendered as an Online Store 2.0 theme block with server-side catalog pricing. |
| Analytics Dashboard | Pro+ revenue tracking for checkout upsells and storefront bundles, with daily trend charts and top-rule leaderboards. Pro shows the Upsells tab; Enterprise adds the Bundles tab. |
| Chat Assistant | Free plan-aware Q&A popup available on every Alfo page. Ask questions about your setup, have the assistant explain a rule, or drop a suggested prompt straight into the AI Assistant composer. Chat history stays in your browser, and nothing is stored on Alfo’s servers. |
Who Is This For?
Alfo is built for Shopify merchants who need discount logic and checkout customization that goes beyond Shopify’s native capabilities. Merchants use Alfo to replace Shopify Scripts or to build new promotions.
Next Steps
- Installation & Setup: Get the app installed and configured on your store.
- Quick Start: Create your first discount in 5 minutes.