Shopify themes, liquid, logos, and UX
I'm looking to use Shopify's built-in JSON-LD functionality for product schema markup.
However, I have one issue: My product pages are a bit non-traditional as they use extensive descriptions, pictures and advanced HTML (we sell B2B). As a result, the default "description" becomes very messy and long when using the below default method from the product.liquid file:
"description": {{ product.description | strip_html | json }}
Ideally I would like to replace the product.description with e.g. my SEO meta description from each page - but I seem to be unable to identify the adequate handle to parse in order to achieve this. Is there a way to successfully do this?
If not, is there a way to define the description separately on each page - i.e. could I remove the description field from the Shopify-generated schema information - and then parse a separate block containing only this on each product page?
Solved! Go to the solution
This is an accepted solution.
It seems using below solved this for me:
"description": {{page_description}},
use this theme for long description 🙂
https://themes.shopify.com/themes/warehouse/styles/metal/preview
This is an accepted solution.
It seems using below solved this for me:
"description": {{page_description}},
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024