Skip to main content
Version: 2.0.0

Coupons

Navigate to yStore → Marketing → Coupons.

Coupons let customers apply discount codes at checkout. yStore's coupon system supports single fixed codes, dynamically generated batch codes, multiple discount types, granular eligibility conditions, stacking rules, and priority ordering — everything you need to run structured promotional campaigns.


Coupon types

A single, fixed code that any eligible customer can use — for example SUMMER20.

Best for:

  • Public campaigns shared on social media or newsletters
  • Seasonal promotions (Black Friday, Easter sale)
  • Partner or affiliate codes

The code is entered exactly as configured — uppercase/lowercase matching depends on your settings.


Discount types

TypeHow it worksExample
Percentage offReduces the order subtotal by a percentage20% off → €100 order becomes €80
Fixed amount offReduces the order subtotal by a fixed value€10 off → €100 order becomes €90
Free shippingRemoves the shipping cost entirelyAny shipping method, any cart
Fixed product priceSets one or more specific products to a fixed priceAny hoodie for €29 regardless of original price
Free shipping vs. Shipping Rules

The Free shipping discount type removes shipping at checkout on any active method. Shipping Rules control which methods appear. You can combine both — use a shipping rule to expose a "Free Shipping" method, and a coupon to waive the cost on an existing method.


Validity and usage limits

FieldDescriptionNotes
Valid fromDate the coupon becomes activeLeave blank to start immediately
Valid toExpiry dateLeave blank for no expiry
Total usage limitMaximum total redemptions across all customersLeave blank for unlimited
Per-customer limitMaximum times a single customer can use this couponLeave blank for unlimited
Minimum order totalOrder must be at least this valueApplied before the discount
Maximum order totalOrder must be at most this valueUseful for budget-capping high-value offers
Limit combinations

If you set both minimum and maximum order totals, make sure the maximum is higher than the minimum. yStore will warn you, but double-check before publishing.


Eligibility conditions

Conditions narrow down who can use the coupon and under what circumstances. All active conditions must be met simultaneously.

ConditionDescription
Specific productsCoupon only applies when one or more specified products are in the cart
Specific categoriesCoupon only applies to products from specified categories
Customer groupOnly customers in a specific group can redeem the coupon
First order onlyValid only for a customer's first purchase — blocked on repeat orders
Specific payment methodCoupon applies only when a particular payment method is selected at checkout
Specific shipping methodCoupon applies only when a particular shipping method is selected
Site scopeRestrict the coupon to one or more sites in a multi-site setup
Combining conditions

All conditions on a coupon must be true at the same time. To create an "either/or" condition (e.g., valid for Category A or Category B), create a separate coupon for each case, or use the Product condition which supports multiple product selections.


Stacking and exclusivity

These settings control how a coupon interacts with other coupons and promotions on the same order.

SettingDescription
StackingWhen enabled, this coupon can be combined with other coupons applied to the same order. When disabled, only one coupon can be active at a time.
ExclusivityMarks this coupon as exclusive — it cannot be combined with any other active coupon or promotion, even if those promotions have stacking enabled.
PriorityNumeric value — higher priority = evaluated first. Matters for percentage discounts where the application order affects the final total.

Typical configurations:

ScenarioStackingExclusivityPriority
Normal store couponOffOff10
High-value VIP offer (no stacking)OffOn100
Loyalty coupon that stacks with sale pricesOnOff5
Black Friday exclusive (nothing else applies)OffOn999

Creating a coupon

  1. Go to yStore → Marketing → Coupons.
  2. Click New Coupon.
  3. Enter a campaign name — internal label, not visible to customers.
  4. Select the coupon type: Specific or Dynamic.
  5. Enter the code (Specific) or configure format, length, prefix, and quantity (Dynamic).
  6. Select the discount type and enter the discount value.
  7. Set validity dates and usage limits under the Validity tab.
  8. Add eligibility conditions under the Conditions tab.
  9. Configure stacking, exclusivity, and priority under the Advanced tab.
  10. Save and test in a checkout session.
Testing a coupon

Before publishing, apply the coupon in a real test checkout:

  • Verify the discount calculates correctly
  • Confirm conditions are enforced (try with a product outside the eligible set)
  • Test the edge cases: second coupon, order just below the minimum, expired date

Pre-launch checklist

  • Campaign name is descriptive enough for your team to identify it later
  • Expiry date matches the campaign schedule
  • Usage limits prevent over-redemption
  • Minimum/maximum order totals are set correctly relative to each other
  • Priority is set correctly relative to other active coupons
  • Stacking and exclusivity are intentionally configured — the defaults may not match your intent
  • For Dynamic codes: batch quantity is large enough for the expected audience
  • Tested in a real checkout before activating

Coupon codes in automation flows

Dynamic coupon codes integrate directly with the Flow Manager. Use the Create Coupon action in a flow to generate a unique code from a coupon template and attach it to a customer automatically.

Common flow use cases:

Flow triggerCoupon action
Cart abandonedGenerate a 5% recovery coupon and email it to the customer
Customer first orderGenerate a loyalty coupon for the next purchase
Newsletter subscribedGenerate a welcome coupon for the first order
Customer moved to VIP groupGenerate an exclusive VIP discount code

See Flow Manager for details on building flows.


Viewing and managing codes

On the coupon list, click any coupon name to open it. The Codes tab shows:

ColumnDescription
CodeThe coupon code string
UsedHow many times this specific code has been redeemed
Last usedMost recent redemption timestamp
CustomerCustomer who last used this code (for dynamic codes)
StatusActive / Expired / Disabled

You can export the code list as CSV for bulk campaigns.


Coupon analytics

The coupon list shows at a glance:

  • Total redemptions for each coupon campaign
  • Revenue generated from orders where the coupon was applied
  • Unique customers who have used the coupon

Use this data to evaluate which campaigns drive real conversions vs. which are over-redeemed without meaningful revenue.