Money off an order or a product, the codes and rules that apply it, and stored value such as gift cards and store credit.
49 parts and 16 phrases. Apps in this area include Shopify Discounts, Bold Discounts, Discount Ninja, Rise.ai, BOGOS, Stripe Coupons.
discount.ruleShowWhat a discount gives, how it is applied, to what, and under which limits.discount.rule.typeShowWhat the discount gives.How to extend
discount rule providerA plugin adds a discount type core does not price, such as buy X get Y, and returns the amount off for a cart.proposeCouponThe assistant proposes a coupon that staff approve before it is created.| Part | Litestore today | How to extend |
|---|---|---|
Core modules/promotions/discount.ts | Provider · manyAssistant tool · many | |
Core modules/promotions/discount.ts | Provider · manyAssistant tool · many | |
Core modules/promotions/evaluate.ts | Provider · manyAssistant tool · many | |
Plugin | Provider · manyAssistant tool · many | |
Plugin | Provider · manyAssistant tool · many | |
Plugin | Provider · manyAssistant tool · many | |
Plugin | Provider · manyAssistant tool · many |
discount.rule.applicationShowHow a discount gets onto a cart.How to extend
| Part | Litestore today | How to extend |
|---|---|---|
Discount code discount.rule.application.codeA discount code is a word the shopper types at the cart or checkout to apply the discount. | Core modules/checkout/cart-discounts.ts | Event · manySlot · many |
Automatic discount discount.rule.application.automaticAn automatic discount applies itself to every cart that meets its conditions, with no code. | Core modules/promotions/default-automatic-discounts.ts | Event · manySlot · many |
Private code discount.rule.application.private_codeA private code is valid but never listed in public code suggestions, and is sent only to chosen people such as in a welcome email. | Core modules/promotions/storefront/queries.ts | Event · manySlot · many |
Suggested codes discount.rule.application.suggested_codesSuggested codes list the public codes a signed-in customer qualifies for during checkout. | Core modules/checkout/storefront/checkout-extras.ts | Event · manySlot · many |
Partner code discount.rule.application.partner_codeA creator code belongs to one creator or affiliate, and orders that use it count toward that person's commission. | Core modules/creators/storefront/collab-coupons.tsx | Event · manySlot · many |
Unique codes discount.rule.application.unique_codesUnique codes are many single-use codes for one discount, each given to one person. | Plugin | Event · manySlot · many |
Bulk code generation discount.rule.application.bulk_codesBulk code generation creates hundreds or thousands of codes for one discount at once and exports them as a file. | Plugin | Event · manySlot · many |
Code in a link discount.rule.application.link_appliedA discount link is a URL that applies a code to the shopper's cart when opened. | Plugin | Event · manySlot · many |
discount.rule.scopeShowWhich part of the order the discount reduces.How to extend
| Part | Litestore today | How to extend |
|---|---|---|
Core modules/promotions/discount.ts | Core only | |
Core modules/promotions/target-resolver.ts | Core only | |
Core modules/promotions/target-resolver.ts | Core only | |
Plugin | Core only |
discount.rule.conditionShowWhat must be true for the discount to apply.How to extend
discount rule providerA plugin adds a condition, such as a customer tag, and returns whether a cart passes it.| Part | Litestore today | How to extend |
|---|---|---|
Core modules/promotions/evaluate.ts | Provider · many | |
Plugin | Provider · many | |
Core modules/checkout/price-resolution.ts | Provider · many | |
Core modules/checkout/price-resolution.ts | Provider · many | |
Core modules/checkout/price-resolution.ts | Provider · many | |
Core modules/checkout/price-resolution.ts | Provider · many | |
Plugin | Provider · many | |
Core modules/promotions/evaluate.ts | Provider · many |
discount.rule.limitShowHow often, when, and alongside what a discount may be used.How to extend
| Part | Litestore today | How to extend |
|---|---|---|
Core modules/promotions/evaluate.ts | Core only | |
Core modules/promotions/evaluate.ts | Core only | |
Core modules/promotions/coupon-live-window.ts | Core only | |
Core modules/checkout/cart-discounts.ts | Core only | |
Core platform/config/pricing.ts | Core only | |
Plugin | Core only |
discount.valueShowBalances a customer spends like money: gift cards and store credit.discount.value.gift_cardShowStored value bought or issued as a code and spent at checkout.How to extend
| Part | Litestore today | How to extend |
|---|---|---|
Core modules/promotions/gift-cards.ts | Event · manyCore only | |
Core modules/email/templates/gift-card-issued.tsx | Event · manyCore only | |
Core modules/promotions/evaluate.ts | Event · manyCore only | |
Core modules/orders/payments/payment-webhook.ts | Event · manyCore only | |
Core modules/promotions/evaluate.ts | Event · manyCore only | |
Core modules/promotions/gift-cards.ts | Event · manyCore only | |
Plugin | Event · manyCore only | |
Plugin | Event · manyCore only |
discount.value.creditShowBalances a customer earns or is given and spends at checkout.How to extend
| Part | Litestore today | How to extend |
|---|---|---|
Core modules/orders/refunds/refund-requests.ts | Core only | |
Core modules/promotions/loyalty | Core only | |
Plugin | Core only |
discount.saleShowLower prices set on the product itself, without a code.How to extend
proposeProductPriceUpdateThe assistant proposes a price change that staff approve.| Part | Litestore today | How to extend |
|---|---|---|
Core modules/products/pricing/core.ts | Section · manyAssistant tool · many | |
Core modules/products/pricing/core.ts | Section · manyAssistant tool · many | |
Core modules/products/pricing/core.ts | Section · manyAssistant tool · many | |
Core modules/storefront/sections/discount-timer.tsx | Section · manyAssistant tool · many | |
Planned | Section · manyAssistant tool · many |
The words apps use for a feature, and the plain parts the feature is made of, in the order they happen.
| Phrase | Made of |
|---|---|
| BOGO | |
| buy one get one free | |
| tiered discount | |
| volume discount | |
| stackable discounts | |
| unique codes | |
| bulk discount codes | |
| shareable discount link | |
| automatic discount | |
| welcome discount | |
| store credit | |
| gift with purchase | |
| flash sale | |
| compare at price | |
| e-gift card | |
| influencer code |
These phrases mean different things at different apps, so the glossary doesn't map them.
The app documentation these parts were checked against.