Hi All,
We are starting to put a small blurb on product pages that is unique to each product line, such as what inspired the design of that product line. It’s currently posted on each product page, but I would like to look into using javascript or something else to have a single file/instance so that I don’t get dinged by crawler. Advice appreciated. Thanks!
@mbsmclemore there’s different solutions for this type product info depending on where you want to keep this info (metafield, pages, translation).
- put a specific blurb in the individual product descriptions
- put all the blurbs in the individual product descriptions and use theme customization to parse and display the specific blurb for specific products.
- customize your theme to use a conditionals to display the blurb based on a flag (a tag or a metafield) pulling from where you stored the info(metafield, pages,translation)
- Use metafield definitions(either a text field or page reference) on a per product basis, and a theme customization to display that info for themes that don’t have support yet.
- make alternate templates that have the blurb hardecoded in the template for those specific groups products in a product-line using the same info
Thank you Paul. #3 is what I was looking to do as I’ve done it on other platforms. Just wanted to make sure that there wasn’t a special “Shopify way” I wasn’t aware.
1 Like
By 2022 theme support should be good enough for metafield-definition features that it will probably be the “Shopify way” , IF by that time new CMS features haven’t also rolled out that is.
1 Like