The Planet Discounts & Upsells integration lets customers add products from your quiz in a side cart, without leaving the results page.
How cart drawers work with quizzes
Cart drawers (also called AJAX carts or side carts) only work inside your store. This means they only open correctly when the quiz is:
Opened using the in-store page URL. Learn how to display your quiz with the in-store page.
Embedded in your store as a section on a page using the app block key. Learn how to embed the quiz anywhere in your store.
Opened in a popup using the popup URL. Learn how to open your quiz in a popup.
If the quiz is opened as a standalone link or is being previewed, it is no longer inside your store, so the cart drawer cannot open directly.
Before you start
Make sure that:
Planet Discounts & Upsells is installed and working
Planet's app embed is enabled in your theme
1. Enable Lantern Core
Lantern Core must be enabled for cart functionality to work correctly.
To enable it:
1.1 Go to Online Store → Themes in Shopify
1.2 Click Customize on your live theme
1.3 Open App embeds
1.4 Turn on Lantern Core
1.4 Save your changes
This allows Lantern to communicate with your store’s cart and trigger the cart drawer.
2. Enable Planet Smart Cart in your quiz
2.1 Open your quiz and go to the Results Page.
2.2 Open Reviews, Cart, Subscriptions, then Cart & Side Cart Drawer.
2.3 Under Do you use a cart drawer?, select Planet Smart Cart.
We recommend these settings:
Do you use a cart drawer?: Planet Smart Cart selected
Do not open a cart page: unchecked
If a cart page is opened, open it in a new tab: checked
2.4 Click Republish to make the change live.
What customers see
If the quiz is embedded in your store or opened on the dedicated in-store page, adding a product from the Results Page updates the Planet cart drawer and opens it automatically.
If the quiz is opened in a popup, adding a product also updates and opens the Planet cart drawer, but the drawer opens behind the popup. Customers see it once the popup is closed.
If the quiz is in Preview mode or opened as a standalone link when customers add to cart, a new tab opens in your store on the product listing page and triggers the cart drawer there
This fallback is needed because cart drawers cannot open outside your store.
To find out more about the Results Page, read Set-up your Results Page. If you use a different side cart, see Theme Side Cart Integrations.





