How to auto-apply discount codes at checkout
When auto-apply is enabled, the discount code is automatically applied at checkout for visitors who signed up through your popup – they don't need to copy and paste it. This reduces friction at the most important step in the funnel and increases redemption rates.
Auto-apply is configured per discount on the Discounts page. It works with both unique discount codes and existing Shopify discount codes.
How to enable auto-apply
- Go to the Discounts page in the 1ClickPopup app
- Open the discount you want to configure (or create a new one)
- In the Checkout behavior card, check Auto-apply discount at checkout
- Click Save
The setting is saved per discount, so any campaign referencing this discount uses the auto-apply behavior.
How it works for visitors
- The visitor signs up through your popup
- The discount code is shown on the Success screen (or Winning screen for gamified campaigns)
- As the visitor adds items to their cart and proceeds to checkout, the code is automatically applied – they see the discount reflected in the order total without entering the code manually
- If the visitor already has a different code applied, behavior depends on the discount's combination rules (see How to set discount expiration and combination rules)
Announcement campaigns have no signup, so the code is applied as soon as the announcement is shown.
The code is also still visible to the visitor, so they can copy it for use later or share it (only relevant for existing Shopify codes – unique codes are one-time use).
Things to know
Auto-apply requires the visitor to complete the signup. For signup campaigns, the code is only applied after the visitor submits the form successfully. Visitors who close the popup without signing up don't get the discount.
Combination rules still apply. If the visitor already has another discount applied at checkout, whether your code stacks depends on the combination settings on the discount itself. If your discount isn't combinable with the type of code already applied, auto-apply silently won't override the existing one.
Lead capture with Shop is a separate option. In the same Checkout behavior card, check Lead capture with Shop to apply the discount automatically via Shop Pay. It requires Shop Pay to be enabled on your store, and only runs when the visitor signed up with an email address. It isn't used for announcement campaigns.
Auto-apply doesn't bypass eligibility rules. If the discount has minimum purchase requirements, product or collection restrictions, or expiration dates, those still apply. Auto-apply just removes the manual code-entry step – it doesn't grant the discount unconditionally.