Solved

Can I add specific content to each product on Shopify without an app?

arods
Visitor
3 0 0

Hi there,

I am trying to add specific content for each product item and then display the content in an accordion, the accordion itself is not the problem, I have added the accordion to the appropriate liquid file and included the correct delivery and returns content but for the other 3 items in the accordion (see screenshot below) I am struggling to find a way to add this content. It would be great if you could suggest a way by editing the theme code rather than installing an app. 

arods_1-1618917295116.png

Thanks in advance.

 

Accepted Solution (1)

Scott-Marshall
Excursionist
36 3 4

This is an accepted solution.

Hi @arods,

If the content will need to be specific on a per-product basis, you'll need to use metafields (https://shopify.dev/docs/themes/liquid/reference/objects/metafield) to accomplish what's desired. There are plenty of apps that allow you to create metafields easily (https://apps.shopify.com/search?q=metafield), however, if you need assistance, feel free to reach out!

Cheers,

View solution in original post

Replies 4 (4)

JHKCreate
Shopify Expert
3571 639 916

Hi @arods 

If this information is unique to each product, you would need metafields to extend this functionality. 

Let me know if this is the case

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
arods
Visitor
3 0 0

Yes the information would be unique to each product, do you have sample code or a good example of how metafields work, I would just need 3 additional textarea fields for the likes of ingredients, how to use and additional information that is separate to the description field.

Scott-Marshall
Excursionist
36 3 4

This is an accepted solution.

Hi @arods,

If the content will need to be specific on a per-product basis, you'll need to use metafields (https://shopify.dev/docs/themes/liquid/reference/objects/metafield) to accomplish what's desired. There are plenty of apps that allow you to create metafields easily (https://apps.shopify.com/search?q=metafield), however, if you need assistance, feel free to reach out!

Cheers,

arods
Visitor
3 0 0

Thanks @Scott-Marshall.