Skip to main content

Coupon Settings

Coupon settings control how discounts are created, when popups are triggered, and what limits apply. Each popup can have its own coupon configuration.

How It Works

When a customer triggers a popup and meets all eligibility criteria, the system generates a unique coupon code linked to a Shopware promotion. The coupon has a limited validity period and can only be used according to the rules you set.

Code Generation Mode

Choose how coupon codes are created and linked to Shopware promotions.

Automatic (default)

In automatic mode, Last Second Coupon creates a new Shopware promotion each time a coupon code is generated. This is the simplest option — everything is handled for you.

SettingDescriptionDefault
Code prefixA prefix added to every generated code (max 10 characters, uppercase). For example, a prefix of "SAVE" produces codes like SAVE-A7K2M9LSC

Attached Promotion

In attached mode, coupon codes are added to an existing Shopware promotion that you have already configured. This gives you full control over the promotion rules in Shopware (e.g., free shipping, buy-one-get-one, specific product discounts) while Last Second Coupon handles the popup and code distribution.

SettingDescription
Shopware Promotion IDThe UUID of the existing promotion to attach codes to
VerifyClick to verify the promotion exists, is active, and has individual codes enabled

Setting Up Attached Mode

  1. Create a promotion in your Shopware Administration (Marketing > Promotions)
  2. Enable Use individual promotion codes in the promotion settings
  3. Copy the promotion's UUID from the URL (e.g., https://your-shop.com/admin#/sw/promotion/v2/detail/{UUID})
  4. In Last Second Coupon, select Use existing Shopware promotion and paste the UUID
  5. Click Verify to confirm the connection
warning

The attached promotion must have Use individual promotion codes enabled. If it doesn't, the verification will show a warning and generated codes will not work at checkout.

tip

Use Attached mode when you need promotion features that Last Second Coupon doesn't configure directly, such as free shipping promotions, specific product discounts, or complex discount rules already set up in Shopware.

Discount Configuration

Discount Type

OptionDescription
PercentageA percentage discount off the cart total (e.g., 10% off)
Fixed AmountA fixed euro amount off the cart total (e.g., 5 EUR off)

Discount Settings

SettingDescriptionDefault
Discount valueThe discount amount (percentage or fixed)10
Minimum cart valueCustomer's cart must be at least this amount to qualify50.00 EUR
Max discount amountCap for percentage discounts (optional). Prevents very large discounts on high-value cartsNone
Coupon expirationHow long the coupon code is valid after being generated (in minutes)15 minutes

Discount Configuration

tip

Setting a max discount amount is recommended for percentage discounts. For example, "10% off, up to 20 EUR max" prevents a customer with a 500 EUR cart from getting 50 EUR off.

Trigger Settings

Triggers determine when the popup appears to customers.

Trigger Types

You can enable one or both triggers:

TriggerHow It Works
Exit-intentDetects when the customer's mouse moves toward the browser's close button or address bar. On mobile, it detects fast upward swipes (common when trying to leave a page)
Time-on-pageShows the popup after the customer has been on the page for a set number of seconds

Trigger Settings

SettingDescriptionDefault
Trigger delayFor time-on-page: seconds before showing the popup (5–300 seconds)30 seconds
Logged-in onlyOnly show popups to customers who are signed in to their accountDisabled
info

Exit-intent is the most popular trigger. It catches customers at the moment they are about to leave, which creates the strongest urgency. Time-on-page is useful as a secondary trigger for customers who browse slowly.

Usage Limits

Prevent coupon abuse and control how often customers see popups.

SettingDescriptionDefault
Max uses per customerHow many times the same customer can receive a coupon (1–100)3
Cooldown periodMinimum days between coupon generations for the same customer (0–365 days)7 days
Excluded categoriesCategory IDs where coupons should not apply. Enter one ID per line or comma-separatedNone
tip

A 7-day cooldown works well for most shops. It prevents customers from seeing the popup on every visit while still re-engaging them if they return later.

Customer Segments

Target your popups to specific types of visitors:

SegmentDescription
New visitorsFirst-time visitors who have never been to your shop before
Returning customersVisitors who have been to your shop before but are not logged in
Logged-in customersCustomers who are signed in to their account

You can select one or more segments. If no segments are selected, the popup is shown to all visitors.

Customer Segments

Sales Channel Selection

Choose which Shopware sales channels should show the popup. By default, popups are shown on all sales channels.

  1. Go to the Sales Channels section in coupon settings
  2. Check or uncheck the sales channels where this popup should appear
  3. Save your changes

This is useful if you run multiple storefronts and want different popups for each one.

Email Capture

Optionally collect customer emails before revealing the coupon code.

SettingDescriptionDefault
Enable email captureShow an email form before the coupon codeDisabled
Make email requiredIf disabled, a "Skip" link allows customers to get the coupon without entering their emailOptional (skip allowed)
Newsletter opt-inShow a checkbox to subscribe the customer to your Shopware newsletterDisabled
Email placeholder textThe placeholder text shown in the email input field"Enter your email for your discount"

How Email Capture Works

  1. The popup appears with an email form overlay
  2. The customer enters their email (or clicks "Skip" if allowed)
  3. The email is saved and optionally subscribed to your newsletter
  4. The coupon code is revealed
info

Captured emails are synced with your Shopware customer and newsletter system. You can find them in Customers > Newsletter recipients in your Shopware Administration.

Email Capture Form

Master Toggle

The Enable popup toggle at the top of the settings page is a master switch for all popup functionality. When disabled, no popups will be shown on any page regardless of individual popup settings.