Fluorescent
Spark
Spark
  • Spark Help Center
    • Start using Spark
      • Migrate your theme
      • Theme licenses
    • FAQs
    • Changelog
  • General
    • Editing themes
      • Adding sections
      • Using templates
      • Accessibility
      • Customizing your site
      • H1 headings tags
      • SEO for Shopify themes
      • Online store speed
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • Adapting theme content
      • Edit default theme content
      • Multiple languages
      • Dynamic content with metafields
      • Unique content for markets
    • Update your theme
      • Upgrade to OS2
  • Theme styles
    • Theme settings
    • Style presets
    • Fonts
    • Colors
    • Animation
    • Buttons
  • Pages
    • Templates
      • About page
      • Blogs page
      • Blog posts template
      • Collections list page
      • Contact page
      • FAQ page
      • Lookbook page
      • Password page
      • Search page
      • 404 page
      • Home page
    • Sections
      • Blog posts
      • Collection list
      • Countdown banner
      • Events
      • Featured collection
      • Featured collection row
      • Featured product
      • Image with features
      • Image with text
      • Inline features
      • Logo list
      • Map
      • Mosaic grid
      • Newsletter
      • Questions and answers
      • Quotes
      • Rich text
      • Shoppable feature
      • Shoppable image
      • Slideshow
      • Social proof
      • Testimonials
      • Text columns with images
      • Video
      • Video hero
    • Popups
  • Header
    • Header
      • Logo
      • Layout and style
      • Transparent header
      • Customer account link
    • Announcement bar
    • Quick search
  • Footer
    • Footer
      • Links block
      • Newsletter block
      • Text and image block
      • Payment icons
      • Language selector
      • Country selector
      • Social media icons
      • Footer text
  • Products
    • Product listings
    • Hover add-to-cart
  • Cart
    • Cart page
    • Fly-out cart
  • Product pages
    • Product template
      • Pre-order template
      • Alternate product template
    • Layout and style
      • Breadcrumbs
      • Navigation buttons
      • Media gallery
      • Quick purchase bar
      • Gift recipient form
    • Product overview blocks
      • Default blocks
        • Title
        • Price
        • Description
        • Variant selector
        • Quantity selector
        • Buy buttons
        • Local pickup banner
        • Share icons
      • Accordion block
      • Complementary products
      • Custom text field
      • Information popup
      • Payment accordion
      • Security accordion
      • Shipping accordion
      • Stock level indicator
      • Text block
      • App blocks
    • Product page sections
      • Product reviews
      • Recommended products
    • Variant options
      • Variant chips
      • Variant swatches
        • Use default colors
        • Use custom colors
        • Use custom images
        • Show on product cards
        • Dynamic option availability
      • Sibling product swatches
  • Collection pages
    • Collection template
    • Banner
    • Product grid
    • Filters and sorting
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • For developers
    • Custom CSS
    • Custom fonts
    • Custom Liquid
    • Custom JavaScript events
    • Edit Theme JavaScript
Powered by GitBook
On this page
  • Create pages for popup content
  • Show info popup next to variant selector
  • Use metafields to display unique product guides
  • 1. Add 'Page reference' metafield
  • 2. Link pages with popup content to products
  • 3. Insert page metafields in theme editor

Was this helpful?

  1. Product pages
  2. Product overview blocks

Information popup

Product page

Last updated 1 year ago

Was this helpful?

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 size charts and product guides.

Note | For multiple guides for different products, see the steps for for different products by using metafields. See the steps at the end of this guide.

Create pages for popup content

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

When clicked, the popup will appear on top of the product page with your info popup content.

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. Enter Link text for the link that opens the info popup when clicked (e.g. "Size guide").

  5. Click the Select page button to choose the page you have created for the popup content.

    You can display unique info popups for different products by using metafields. Learn how to create and insert metafields for info popups below.

  6. 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.

1. Add '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.

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.

    Alternatively, go to Settings > Custom data in your Shopify admin.

  3. Click the Products tab.

  4. Click the Add definition button in the top-right.

  5. 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".

  6. Click the (+) Select content type button and select Page under Reference.

  7. Click Save.

2. Link pages with popup content to 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.

STEPS

In your Shopify Admin:

  1. Click Products in the admin sidebar. Open the product(s) you want to add the info popup page.

  2. Scroll down to the Metafields section on the product page and click on the metafield you created and click Select page.

  3. Repeat these steps to update the Page reference metafield for each product.

  4. Click Save.

3. Insert page metafields in 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.

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. Select the Metafield that you created (e.g. "size guide").

  4. You can now view or preview your different products to ensure that the correct Information popup content appears on each product page.

  5. Click Save.


Related links

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

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

Once you've created a page for your popup content, you can add an Information popup link next to one of your (for example, Size or Material).

Note | The Information popup will appear on any product with the same product option name (e.g. "size"). For multiple product guides, you can by using metafields.

For a general introductions, see our .

Make sure you've before following these steps.

create tables ↗
Pages ↗
Product options ↗
Dynamic sources and metafields tutorial
Product template
Using metafields
create unique info popups for different products
created pages with your info popup content
creating unique info popups