Information popup

Information popup

Start your free trial
Start your free trial

General

Online store speed
Online store speed
Accessibility
Accessibility
Theme updates
Theme updates

Theme styles

Style presets
Style presets
Colors
Colors
Fonts
Fonts
Animation
Animation
Social media
Social media

Header

Announcement bar
Announcement bar
Mobile menu
Mobile menu
Search bar
Search bar

Sections

Products

Product listings
Product listings
Product badges
Product badges
Quick view
Quick view
Quick add
Quick add

Product page

Product template
Product template
Variant chips
Variant chips
Sticky add-to-cart bar
Sticky add-to-cart bar
Sibling product swatches
Sibling product swatches
Product recommendations
Product recommendations

Collection page

Collections template
Collections template
Banner
Banner
Product grid
Product grid
Filters and sorting
Filters and sorting

Cart

Quick cart
Quick cart
Cart page
Cart page
Added-to-cart popup
Added-to-cart popup
Cross sells
Cross sells
Free shipping bar
Free shipping bar
Low inventory warning
Low inventory warning

Pages

Templates
Templates
Home page
Home page
About page
About page
Blogs page
Blogs page
Blog post
Blog post
Collections list
Collections list
Contact page
Contact page
Password page
Password page
Search page
Search page
404 page
404 page

Support

Support policy
Support policy
Shopify vs Theme issues
Shopify vs Theme issues
Store access requests
Store access requests

Information popup

If you are selling products with specific details customers need to know, like clothing sizes, you can add an Information popup to your product pages to display popup charts and product guides.

The Information popup appears as a clickable link with an icon either next to a variant selector (e.g. size, color, material) or as a moveable block that you can position on your product page.

Note | For multiple guides for different products, you can create unique info popups for different products by using metafields. See the steps at the end of this guide.

Create pages for popup content

image

The Information popup displays content from a Page created in your Shopify admin. Use Shopify's page editor to create tables with images, links, and other rich text to display in the popup modal.

Admin | Pages are a Shopify feature. To learn more, see Shopify's Pages manual.

Add as many pages as you need for unique product guides to tell customers about sizes, materials, or any other details they need to know before purchasing your products.

Show info popup next to variant selector

Once you've created a page for your popup content, you can add an Information popup link next to one of your Product options (for example, Size or Material). When clicked, the popup will appear on top of the product page with your info popup content.

Note | The Information popup will appear on any product with thee same product option name (e.g. "size"). For multiple product guides, you can create unique info popups for different products by using metafields (see below).
icon
STEPS

In your theme editor (Customize):

  1. Select a Products template to edit.
  2. In the Product overview section, click on the Variant selector block.
  3. Enter the exact Option name that matches one of your product variants set up in your Shopify admin. For example: "Size".
  4. image
  5. Enter Link text for the link that opens the info popup when clicked (e.g. "Size guide").
  6. Click the Select page button to choose the page you have created for the popup content.
  7. Click Save.

Add info popup as moveable icon link

Once you've created a page your popup content, you can display an Information popup link with an icon anywhere in the right-column of the product form. When clicked, the popup will appear on top of the product page with your info popup content.

icon
STEPS

In your theme editor (Customize):

  1. Select a Products template to edit.
  2. In the Product overview section, click (+) Add block and select Information popup.
  3. Click the block to open the settings.
  4. Select an Icon to display next to the info popup link.
  5. (Optional.) Upload a Custom icon image to display next to the info popup link. We recommend a .png image with the dimensions 50px x 50px and a transparent background.

  6. Enter Link text for the link that opens the info popup when clicked (e.g. "Size guide").
  7. Click the Select page button to choose the page you have created for the popup content.
  8. You can display unique info popups for different products by using metafields. Learn how to create and insert metafields for info popups below.

  9. Click Save.

Use metafields to display unique product guides

You can display unique info popups for different products by using metafields. Once you create page content for multiple info popups (e.g. different size charts), you can link those pages to specific products by adding metafields in your Shopify admin.

Then, in the theme editor, insert that metafield as a dynamic source to automatically display the correct information.

Watch the video tutorial or follow the written instructions below.

For a general introductions, see our Dynamic sources and metafields tutorial.

1. Add a 'Page reference' metafield

First, you need to add a Page reference metafield to your product pages. This field will store the specific page you want to link to each product in your Shopify admin.

Note | Make sure you've created pages with your info popup content before following these steps.
icon
STEPS

In your theme editor (Customize):

  1. Click the Variant selector or Information popup block to open the settings.
  2. Click the Connect dynamic source button next to the Content option in the Information popup settings. Then click + Create Metafield.
  3. image
    Alternatively, go to Settings > Custom data in your Shopify admin.
  4. Click the Products tab.
  5. image
  6. Click the Add definition button in the top-right.
  7. Add a Name to the metafield that describes what it will be used for so you can remember and find it easily. For example: "Size guide".
  8. image
  9. Click the (+) Select content type button and select Page under Reference.
  10. image
  11. Click Save.

2. Link pages for the info popup to your products

Once you've added the Page reference metafield to your products in the Shopify admin, you can now enter the specific pages you want for the info popup by going to your product inventory in the Shopify admin.

icon
STEPS

In your Shopify Admin:

  1. Click on Inventory under Products in the admin sidebar. Open the product(s) you want to add the info popup page.
  2. image
  3. Scroll down to the Metafields section on the product page and click on the metafield you created and click Select page.
  4. image
  5. Repeat these steps to update the Page reference metafield for each product.
  6. Click Save.

3. Insert page metafields into the theme editor

Now that the product Metafields you created link to the correct pages for your popup content, you can insert that metafield into the theme editor as a Dynamic source.

icon
STEPS

In your theme editor (Customize):

  1. Click the Variant selector or Information popup block to open the settings.
  2. Click the Connect dynamic source button next to the Content option.
  3. image
  4. Select the Metafield that you created (e.g. "size guide").
  5. image
  6. You can now view or preview your different products to ensure that the correct Information popup content appears on each product page.
  7. Click Save.