Skip to content

Putting the quiz on your store

The four ways to place a quiz on your theme, every setting of the three Teacup Quiz blocks, showing a quiz that isn’t your main quiz, and #teacup links.

#Before you start

Shoppers see a quiz when it’s published and a Teacup Quiz block on your live theme shows it. Publishing alone doesn’t place it anywhere.

Open Put it on your store from the quiz’s status area in the editor. It also opens by itself after a quiz’s first publish. On Home, the setup guide’s Put it on your store step has two shortcuts: Add to home page and Add a popup.

The dialog says “Pick a place. Your theme editor opens with the quiz already added: move it where you like, then click Save.” Each option opens your theme editor in a new tab with the block already added. Nothing changes on your store until you click Save there.

#The four ways

OptionWhat shoppers getThe buttonGood for
A section on a pageThe whole quiz, right on the page, in a section you move up or down like any other.Home page adds it to your home page. Another page adds it to your default page template.A dedicated quiz page, or a feature on your home page.
A button on product pagesA button with your quiz’s name in the product details. It opens the quiz in a popup, without leaving the page.Add to product pages adds it to your product template’s main section.Shoppers who are unsure between products.
A popup on every pageA floating quiz button in the corner, and the quiz can open by itself for new visitors.Turn on the popup switches on the popup under App embeds.Reaching shoppers wherever they are.
Any link or menu item“Paste this link into a menu item or a button. It opens the quiz in a popup, on pages where the popup or a quiz button is on.”Copy link copies /#teacup (or /#teacup- and the quiz’s ID).Menus, banners and buttons.

#The Teacup Quiz block

The whole quiz, as a block in a section. It centers itself and never grows wider than a comfortable reading width.

SettingWhat it does
Quiz IDEmpty: shows your main quiz. To show another quiz, paste its ID (see below).
Show quiz titleOn (default): the quiz name shows small above the quiz. Turn it off when the section already has a heading.

If your quiz shows its results on a page of your store, that page needs this block too, showing the same quiz: see Results.

#The Teacup Quiz button block

A button that opens the quiz in a popup. Add to product pages puts it in your product page’s main section; you can also add it to any other section that takes app blocks, like a banner.

SettingWhat it does
Quiz IDEmpty: opens your main quiz. Paste an ID to open another quiz.
Button textEmpty: the quiz name, e.g. “Find your perfect match”. Or write your own, like “Not sure which one? Take the quiz”.
StyleFilled (default, in the quiz’s main color), Outline or Text link.
AlignmentLeft (default), Center, Right or Full width.

#Showing a quiz that isn’t your main quiz

Every block shows your main quiz unless you give it a Quiz ID. For any other quiz, Put it on your store says This isn’t your main quiz. After adding it, click it in the theme editor and paste this into Quiz ID: followed by the ID and Copy ID.

  1. In the quiz’s Put it on your store, click Copy ID (you see Quiz ID copied).
  2. In the theme editor, click the block to open its settings.
  3. Paste the ID into Quiz ID, then click Save.

The ID is also in the Welcome step, under Quiz name. It’s made from the quiz’s first name, like gift-finder, and never changes, even if you rename the quiz. Capitals don’t matter.

Prefer one quiz everywhere? Click Make main quiz next to Or make it your main quiz, and no ID is needed.

#Finding the blocks in the theme editor

Every Teacup Quiz block is under Apps when you add a section or a block: Teacup Quiz (the whole quiz) and Teacup Quiz button. Teacup Quiz popup is under App embeds. Remember to click Save.

In the theme editor, a block with nothing to show says why, for example Teacup Quiz: publish a quiz in the Teacup Quiz app to show it here. Shoppers never see these notes. See When the quiz doesn’t show.

If you can’t add the block to a section, your theme may not support app blocks there. The popup and #teacup links still work.

#How Teacup Quiz knows it’s placed

Until shoppers start taking your quizzes, the setup guide on Home checks your live theme each time you come back to the Teacup Quiz tab. It looks for a Teacup Quiz or Teacup Quiz button block in your theme’s templates, header and footer, and for the popup being switched on.

Its Try it like a shopper step then lists what it found, like “On your store: Home page, Product pages, Popup.” The Put it on your store step is done once a block is found, or once shoppers have started a quiz.

Still need help?

Chat with us: you talk to a real person, not a bot. Or email us with your store’s address (your-store.myshopify.com).