EzyStudio Alfo - Discount Functions

Introduction

What is Alfo - Discount Functions?

Alfo - Discount Functions is a Shopify app that provides merchants with a no-code rule builder for creating complex discount logic. You configure rules through an intuitive UI directly in Shopify Admin, and those rules execute at checkout via Shopify Functions (WebAssembly) — delivering fast, reliable discounts without any custom code.

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

  • No-code rule builder — Design complex discount logic with a visual interface, no programming required.
  • Four specialized discount functions — Conditional, Tiered, Buy X Get Y, and Bundle, each optimized for a specific discount pattern.
  • 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.
  • 16 conditions with AND/OR logic — Build precise targeting rules using cart-level and product-level conditions.
  • Composable rules with configurable strategies — Combine multiple rule groups within a single discount function and control how they interact.
  • AI-powered configuration — Generate, update, and explain discount configs with natural language. Generation on Pro+; Explain with AI free on all tiers.
  • Rule scheduling — Set date-based activation windows on rule groups for seasonal sales and flash promotions (Pro+).
  • Native Shopify integration via Admin UI Extensions — Configure everything inside Shopify Admin. No external dashboards.
  • Automatic and Code-based discounts — Support for both discount types across all four functions.

Function Types at a Glance

TypeTriggerApplies ToDiscount ClassesPlan
ConditionalConditions metTargeted items / order / shippingProduct, Order, ShippingStarter+
TieredThreshold reachedSame, scales with tierProduct, Order, ShippingPro+
Buy X Get YBuy quantity met”Get” items onlyProduct, ShippingStarter+
BundleAll components presentBundle itemsProduct, ShippingEnterprise

Checkout Customization

Beyond discounts, Alfo provides four additional Shopify Functions and extensions that control the checkout experience:

TypeActionsConditionsPlan
Cart & Checkout ValidationBlock, WarnCart + Product + Delivery conditionsAll plans
Payment CustomizationHide, Rename, Move, Payment Terms, Order ReviewCart + Product conditionsAll plans
Delivery CustomizationHide, Rename, MoveCart + Product + Delivery address conditionsAll plans
Checkout UpsellsOffer variants at a chosen stepCart + Customer conditionsPro+

These functions let you control who completes checkout, how payment and delivery options are presented, and what offers buyers see along the way — all driven by 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:

  • 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 — A 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 — nothing is stored on Alfo’s servers.

Who Is This For?

Alfo is built for Shopify merchants who need complex discount logic and checkout customization that goes beyond Shopify’s native capabilities. Whether you are migrating from Shopify Scripts or building new promotions, the app provides a flexible, future-proof foundation for your discount and checkout strategy.

Next Steps