Skip to main content

How to show a quantity selector on the results page

Written by Wendy

Lantern lets you show a quantity selector beside the Add to Cart button on the quiz results page. This allows customers to choose how many units of a recommended product they want to add to their cart.

How to enable the quantity selector

  1. Open your quiz in the Quiz Builder.

  2. Go to the Results Page.

  3. Open the Add to Cart button settings.

  4. Enable Show Quantity Selector.

    Image showing the Show Quantity Selector setting enabled in the Add to Cart button settings on the Lantern results page.

  5. Republish the quiz.

    Image showing the Republish button used to save and publish quiz changes.

Once enabled, the quantity selector will appear to the left of the Add to Cart button on the results page.

Image showing a quantity selector displayed beside the Add to Cart button on a Lantern quiz results page.

How it works

Customers can use the plus and minus buttons to increase or decrease the quantity before adding a product to their cart.

Image showing product cards on a Lantern quiz results page, with quantity selectors beside Add to cart buttons, a Choose options button for one product, and an Add all to cart button below.

For products with more than 20 variants, the quantity selector will not appear. Instead, the product will show a Choose options button.

If your results page uses an Add All to Cart button, Lantern will use the selected quantity for each product that has a quantity selector. If the customer does not change the quantity, each product will default to a quantity of 1.

Note: Products with a Choose options button can still be included when using Add All to Cart. In that case, Lantern will add the product’s first or default variant from the Shopify product listing.

Theme behavior

The quantity selector automatically follows the style of the selected quiz theme. It works across Lantern themes and adjusts to match the overall look of the Add to Cart button.

If you want to further customize the style of the quantity selector, you can use custom CSS. For more details, see How to add custom CSS to your quiz.

Did this answer your question?