Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey All
I have created some dynamic product templates, with Product Descriptions leveraging metafields which is working really well. The descriptions are now full of relevant information and I didn't have to rewrite them to suit different products and applications.
Trying to figure out how to update or make SERPs reference these - instead of the meta descriptions in the 'product' itself..
Have created a few generic snippets in the theme.liquid to update the meta description, but can't make it too complex as it won't display correctly with the variants on offer.
Ideally would like to pull the dynamic description from each product template instead.
Anyone have any ideas?
Cheers!
probably need to just use that instead of the custom metafield, product CSV can export some metafields now.
Or automate it using shopify-flow or the usemechanic app to automatically copy the existing metafields to the meta description metafield when they change.
There's also whether you mean content/descriptions of schema.org structured data, which is done with JSON+LD , or <titles> that pull part of the text from the description.
For that you'd need to manually override the JSON output either in theme.liquid, or a products template ,or SEO related snippets those templates may use. There is also now a structured_data filter that outputs everything requiring fully replacing that filter with custom JSON+LD https://shopify.dev/changelog/liquid-structured_data-filter-supports-productgroup
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
You could use an app like flow or mechanic to populate the meta description field using that template.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024