Fluorescent
Eclipse
Eclipse
  • Get started
    • Migrating to Eclipse
    • Theme license
  • FAQs
  • Changelog
    • Update your theme
  • General
    • Editing themes
      • Dynamic content with metafields
      • Edit default theme content
      • Multiple languages
      • Unique content for markets
      • Customizing your site
      • H1 heading tags
    • Image guide
      • Web ready photography
      • Image sizes
      • File formats
      • Theme image settings
    • SEO for Shopify
    • Online store speed
    • Accessibility
  • Theme settings
    • Theme settings
      • Social media
    • Theme styles
    • Fonts
    • Colors
  • Corner rounding
  • Pages
    • Page templates
      • Using templates
      • Customize page styles
      • Create and assign templates
    • Demo layouts
    • About page
    • Home page
    • Blog page
    • Blog post
    • Contact page
    • Password page
    • Search page
  • Sections
    • Sections
      • Using sections
      • Content blocks
    • Blog posts
    • Collapsible content
    • Collection list
    • Contact form
    • Featured collection
    • Featured links
    • Feature product
    • Grid
    • Icon with text columns
    • Image hero
    • Image with text
    • Multi-column
    • Newsletter
    • Rich text
    • Scrolling content
    • Shop the look
    • Shoppable feed
    • Slideshow
    • Video
    • Video hero
    • Video with text
    • Custom Liquid
  • Header
    • Announcement bar
    • Header
      • Layout and style
      • Logo
      • Transparent header
      • Mega menu
      • Language and Currency
    • Impact logo
    • Search
  • Footer
    • Footer
      • Image Text and Socials
      • Links block
      • Newsletter and Socials
      • Language and Currency
      • Custom Liquid
  • Products
    • Product listings
      • Product card styles
      • Sale and sold out badges
      • Quick shopping
    • Prices and currencies
    • Swatches
      • Use default colors
      • Use custom colors
      • Use custom images
  • Product pages
    • Product page
      • Gift card product
    • Media gallery
      • Media grouping
    • Product overview blocks
      • Description
      • Price
      • Buy buttons
      • Collapsible row
      • Complementary products
      • Custom option
      • Featured icon with text
      • Icon with text
      • Inventory status
      • Image block
      • Popup block
      • Product rating
      • Text block
      • Share icons
      • Custom Liquid
    • Variant selector
      • Info popup
    • Sticky add-to-cart
    • Sibling products
    • Product recommendations
  • Collections
    • Collection page
      • Banner
      • Product grid
      • Promotion tiles
      • Filters and sorting
    • Collection list page
  • Cart
    • Cart
    • Free shipping bar
    • Cross sells
  • Popups
    • Popups
  • Support
    • Support policy
    • Shopify vs Theme issues
    • Store access requests
  • Advanced
    • Custom CSS
    • Custom fonts
Powered by GitBook
On this page
  • Create pages for popup content
  • Add popup block
  • Select popup content
  • Select icon
  • Add link text
  • Add bottom padding
  • 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

Popup block

Last updated 7 months ago

Was this helpful?

The Popup block appears as a clickable link with an icon. When clicked, a popup will appear with custom page content that you can use for product guides and details.

  • Choose a default or custom Icon

  • Add Link text

  • Add Content for the popup

Create pages for popup content


The Popup block 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.

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.

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

Add popup block


Under Product overview, click (+) Add block and select Popup. Use the drag-and-drop handles ⋮⋮ to re-order blocks. Click the block to start customizing.

Select popup content


After you've created a page for your popup content, you can select the page in the block settings. Click the Popup block, then click Select page under Content.

The same page content will appear for every product that uses the same template. You can by using metafields.

Select icon


Choose an icon or upload your own to display next to the featured text.

Click Popup block to find settings

Setting
Description
Options

Icon

Choose from 40+ free icons.

Default: Checkmark

Custom icon image

Upload your own icon image to display next the heading. We recommend a PNG image with a transparent background and minimum dimensions of 50px by 50px.

Add link text


Click Popup block to find settings

Setting
Description
Options

Link text

Enter text to display as the label for the link.

Default: "Popup link text"

Add bottom padding


Use Bottom padding to adjust the layout of the product overview section by adding spacing between blocks.

Click Popup block to find settings

Setting
Description
Options

Bottom padding

Add spacing below the block

1 - 50px

Default: 16px

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.

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

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

create tables ↗
display unique popup content for different products