Quiz builder

Offer a discount code on results

Every new quiz gives shoppers a Shopify discount code when they finish. Change the offer, show the code on the result page, or turn it off.

5 min read·Updated October 20, 2026·All plans

In the appSalesQ/Quizzes/Edit/Discount

In this guide

  1. 01Change the discount type, value and code prefix
  2. 02Turn the quiz discount off
  3. 03Show the code on the result page and apply it at checkout
  4. 04Decide what happens when a shopper takes the quiz again

Before you start

When a shopper finishes your quiz and gives their email, AISalesQ creates a discount code for them in Shopify. Each shopper gets their own code. You can show it on the result page, apply it at checkout and add it to your follow-up emails.

Change or turn off the discount

  1. 1

    Open the Discount tab

    In the quiz editor, click Discount in the top bar. The panel shows Offer discount with its switch, and the Discount type cards.

    The Discount tab: Offer discount switch, Discount type cards and the code prefix
  2. 2

    Turn it off, if you prefer

    Switch Offer discount off and click Save. The quiz stops creating codes.

  3. 3

    Or pick a discount type

    Click a Discount type card. Its settings open in a second panel next to it. Click Edit settings to open it again later.

    Amount off order settings: discount value, minimum purchase, eligibility and usage limits
  4. 4

    Set the offer

    Fill in the settings for that type, described below. Then click Save.

Discount typeWhat the shopper gets
Amount off orderA percentage or fixed amount off the whole order. This is the default.
Amount off productsA discount on chosen products or collections, or on the products the quiz recommended.
Buy X get YA free or discounted item when they buy a set quantity or amount.
Free shippingFree shipping to all or selected countries.

Discount settings

SettingWhat it doesDefault
Discount code prefixThe start of every code. Letters and numbers only, up to 12 characters. Codes look like QUIZ- followed by 10 characters.QUIZ
Discount valuePercentage or Fixed amount.10%
Applies toFor Amount off products: Specific products or Specific collections, or turn on Use the shopper's recommended products.All items
Minimum purchase requirementsNo minimum requirements, Minimum purchase amount or Minimum quantity of items.No minimum
EligibilityAll customers or Specific customer segments. Turn on Lock the code to the shopper who took the quiz so only they can use it.All customers
Maximum discount usesHow many times each code can be used, and Limit to one use per customer.1 use, one per customer
CombinationsWhether the code combines with other Product discounts, Order discounts or Shipping discounts.None
Active datesWhen the code starts and ends. Choose Expires a number of days after the shopper takes the quiz or Expires on a fixed date.Starts when issued, no end date

When a shopper takes the quiz again

Under Repeat submissions, choose what a returning shopper gets:

OptionWhat happens
One discount per shopper (default)They see the same code again. If it expired unused, they get a new one. Once they've used a code, they don't get another.
One discount everA shopper who was given a code never gets another, even if it expired unused.
A new code every submissionThey get a fresh code every time they finish the quiz.

These rules count per quiz. Turn on Count across all quizzes, not per quiz to apply them across every quiz in your store.

Repeat submissions options and Count across all quizzes, not per quiz

Show the code to shoppers

  1. 1

    Add a Coupon element

    Open Results, click the Elements sub-tab and drag Coupon onto each result page. New result pages don't include one, so add it yourself.

    A Coupon element on the result page and its Coupon settings
  2. 2

    Set its text

    Click the coupon to change Label text (default Your discount code), Copy button text, Copied text and No-code message, which shows when there's no code to display.

  3. 3

    Apply it at checkout

    The Cart/checkout button on the result page applies the shopper's code for them, so they don't need to copy it.

  4. 4

    Send it by email

    Add {{discount_code}} to a follow-up email to include the code. See Personalise emails with merge tags.

Use a different discount on one result page

  1. 1

    Open the result page settings

    In Results, click Settings on the page's row and scroll to Discount code.

  2. 2

    Override the quiz discount

    Turn on Override quiz discount. The full discount form appears and applies only to this result page.

    Override quiz discount switched on in Result page settings

Good to know

  • Codes are created only when a shopper finishes the quiz on your store and gives an email. Preview never creates a code, so test on your storefront.
  • Each code appears in your Shopify admin under Discounts.
  • If you change the discount settings, a shopper who still holds an unused code gets a new code with the new terms the next time they finish the quiz.
  • With Answer mapping, a code is only created when at least one of the shopper's answers has a recommendation.

Video tutorials

Watch the series in order, or jump to the one you need.

  1. 011:32How to Install a Shopify Quiz App: AI Sales Quiz Builder Setup & Tour
  2. 021:38How to Create a Product Recommendation Quiz on Shopify (Step by Step)
  3. 031:44Shopify Quiz Templates: Build a Product Quiz in Minutes
  4. 041:48How to Add a Quiz to Your Shopify Store (Publish & Embed)
  5. 051:56Shopify Quiz Popup: Triggers, Timing & Page Targeting
  6. 061:44Shopify Quiz Logic & Branching: Send Shoppers to the Right Product
  7. 071:42Shopify Quiz Discount Codes: Unique Codes That ConvertNow playing
  8. 081:44Shopify Email Marketing: Create a Quiz Follow-Up Email
  9. 091:36Shopify Email Templates for Quiz Follow-Ups (Ready to Use)
  10. 101:51Shopify Email Builder Tutorial: Drag-and-Drop Blocks
  11. 111:49Personalize Shopify Emails With Quiz Answers (Merge Tags)
  12. 121:32Shopify Email Automation: Quiz Follow-Up Flow Step by Step
  13. 131:29Manage Shopify Email Automations: Pause, Resume & Edit Flows
  14. 141:41Shopify Email Sending Limits Explained (Quiz Emails)
  15. 151:31Send Shopify Emails From Your Own SMTP Server
  16. 161:43Shopify Email Consent & Unsubscribe Link Explained
  17. 171:46Shopify Quiz Subscribers: Search, Filter & View Profiles
  18. 181:45Shopify Quiz Analytics: Track Revenue, Conversions & Emails
  19. 191:44Shopify Abandoned Cart Tracking for Quiz Shoppers
  20. 201:42Klaviyo Shopify Integration: Send Quiz Subscribers to Klaviyo
  21. 211:43Best Shopify Quiz App Pricing: AI Sales Quiz Builder Plans Compared

Learn more

Next stepDesign and brandingSet your fonts, colors, quiz size, progress bar, animations and celebration in Global settings, then fine-tune single questions and elements.

Related articles

Was this page helpful?

Capture emails