Is there a liquid tag to pick up the product Meta Description

Hi fellow Shopify’ers,

Just a quick question, is there a liquid tag for picking up a products SEO Description similar to {{ product.description }} I need it for the Avada SEO optimiser so it picks up and uses the SEO description instead of the full one.

Thanks for any help on this :slightly_smiling_face:

I think this should work

{{ page_description | escape }}
1 Like

Hi Demib,

Thanks for the speedy suggestion, Avada did not like it, it might be that it can only support a limited set of basic liquid instructions.

If they only support a limited set of tags then you probably need to contact them to et a list.

However seeing now what you want to do I don’t think you can. You want to use the META-description in a script to create the description. Thats sort of a circular task that is not logical :slightly_smiling_face:

How many products do you have?

From an SEO point of view scriptede (automated) descriptions is most often not the best. They do not take Search User Intent for each page (and keyword) into account. If you don’t have too many I will highly recommend you write and optimize them manually.

It does seem a bit backward, for whatever reason their app does not parse the SEO info from the product correctly (or at all) when you do not enable their ‘feature’, I’ve got in touch with them so just waiting to see what their reply will be. It’s going to end up being something strange. I’ll update the post when I find out in case other come across this problem.

Just an update for anyone reading, it turns out the Avada app was being tetchy with regards to not borking my meta descriptions when it was set to off. After talking with Avada I turned it on and off a couple of times and it appears to now be allowing the regular meta description through.

Edit and update:

Further experimentation has lend me to a happy compromise, @demib was on the right track for what I needed, but instead of ‘escape’ I used ‘strip_html’ which worked. I now have Avada SEO’s basic rules active with a few tweaks make things a bit more Google friendly. By using these rules:

Meta Title: {{ product.title | truncate: 65 }}

Meta Description: {{ product.description | strip_html | truncate: 150 }}

I can trim the titles and description down to Google’s recommendations, by adding strip_html to the description it removes any formatting issues by delivering a plain text similar to the regular meta description. I’ll shall test these settings and see if my google love improves.

1 Like