Info Gallery

Step Create Metaobjects

  1. Login to your Shopify store, click to Settings
  2. Click to Custom data --> Metaobjects and Click Add definition
  3. Add metaobject definition with 2 fields as bellow:

- Name: Info Gallery

- Field 1:

* Name: Highlights Text

* Type: Single line text - One value

- Field 2:

* Name: Image

* Type: File - One file - Images

- Field 3:

* Name: Subheading

* Type: Single line text - One value

- Field 4:

* Name: Heading

* Type: Single line text - One value

- Field 5:

* Name: Description

* Type: Multi-line text

Step Create Metafields

  1. Back to Custom data -> Metafields -> Products

  2. Add a metafield as bellow:

    - Name: Info Gallery

    - Type: Metaobject - List of entries

    - Reference: Info Gallery

    - Namespace and key: custom.info_gallery

  3. Setup metafield for a product and you can see the result.

In product:

  • Add and select new entries:

Result:

Choosing the metafield (version 1.3.0)

The Key ingredients section reads this content through its Info gallery metafield setting. The default key is custom.info_gallery.

  • Keep the default key above and it works with no extra setup.
  • Or rename it: create the metafield under your own namespace.key (for example, your brand name), then set Info gallery metafield to match.
  • Reuse on one page: create one metafield per copy (for example custom.info_gallery and custom.info_gallery_2) and point each Info gallery metafield at its own key to show different content.

See How to setup Metafield in version 1.3.0? for details.

Comments

No comments yet

Looking for Help?
Get support from our team

If you can't find the answer you're looking for, our support team is here to help.