So I am trying to add ingredients to my products and I thought I found out how to, but unfortunatly it was for everything. So if I added the ingredients for one product it would do it for all of them. (Below I have a picture of skittles with the ingredients for oreo cookies because I added the ingredients on the oreos, but it saved to everything)
Topic summary
Initial Problem:
A user attempted to add product-specific ingredients but found the information was applying globally to all products instead of individual items (e.g., Skittles showing Oreo ingredients).
Primary Solution - Using Metafield Definitions:
- Navigate to Settings > Metafields > Products > Add definition
- Create a metafield with namespace (e.g., âingredientsâ) and type (e.g., âMulti-line textâ)
- Fill in specific ingredient content for each product in the product admin page (appears below Search engine listing preview)
- Display on storefront by connecting the metafield through Theme Customizer using âInsert Dynamic Sourceâ feature
- Code reference:
{{ product.metafields.ingredients.multiline_text.value }}
Alternative Methods Mentioned:
- Add ingredients directly to product descriptions (can use CSV for bulk updates)
- Use product tags for organization/filtering
- Create pages matching product handles to store ingredient data
Ongoing Issues:
- One user reports file-type metafields (for nutritional info images/Excel files) donât appear in dynamic source selector
- Another user questions how to connect dynamic sources to the product information input page for easier ingredient entry
Hello Alekd, Hope this helps!
You can do that now natively using metafield definitions , quick tutorial below, some old ways may also be valid for some use cases and I mention them at the end.
Learn about metafield definitions here https://help.shopify.com/en/manual/metafields/metafield-definitions
Merchants wanting to buy this setup and theme customizations may contact me.
For a simple list you can use metafield definitions, aka mf-defs, in this example iâm setting the namespace to ingredients and the key to multiline_text just to hint to myself that iâve set the type to âMulti-line textâ and can add more than a single line of text. But you could just as easily set the key to âlistâ if that will make more sense day to day.
Create metafield definitions here shopify.com/admin/metafields
Example screenshot of setting up a mf-def for an ingredients namespace with multiline_text key and multi-line text type:
When saved a new input will appear in each products admin under the Search engine listing preview
In the screenshot in a products admin metafields UI for this mf-def Iâve entered some text for 3 items in html
To display it in your your theme youâd add following line of code, for this example, to your themes product templates where you want to display the metafield definition( or use a dynamic source for OS2 themes that support that feature)
Always backup your themes before making changes
<div>{{ product.metafields.ingredients.multiline_text.value }}</div>
Copy
*if you modify things change the namespace(ingredients) and key(multiline_text) to match your changes.
Some other methods:
Just adding this to each products description(using CSV if you needed to do it in bulk), placing ingredients in tags(which allow for tag based organization or navigation or filtering), or use pages that match the product handle to hold that content and reference it in product templates:
<div>{{ pages[product.handle].content }}</div>
Copy
Need further assistance? Reply to this message or send a private message. I will be glad to assist you
kindly accept solution if this solved your challenge
Cheers,
Tosin
â
Hi @AlekD ,
In order to have different Ingredients for each product, you first need to create metafield and then connect it with your theme setting to display metafield on your product pages:
- Create Metafield by going to Setting > Metafields > Products > Add definition > fill out the required info.
- Go to Products > Within each product page, scroll down to the bottom and youâll see the metafield youâve created before, then fill out the specific content for each.
- Navigate to Online Store > Theme > Customize
- Select Products then Default Product from the page selector at the top
- Within the sidebar menu, click on the Ingredients section > Row content > click on the Insert Dynamic Source as the photo attached below > Select the associated metafiled
- Finally, hit Save
I hope this helps.
Hello, I am also having a similar issue with trying to add nutritional info which is either taken from an excel file or use a .png image. I have set up the metafield as a file type but when I try to insert the dynamic source it doesnât show any of the metafields created that are this file types. Any answers on how to fix this?
The connect dynamic source takes you to a different metafield generator than the one that can show up as inputs on the product info pages. How do we connect the dynamic source to the page where you can enter the product information where I can add a field for ingredients?



