Hi there!
At GSC, I see as if products don't have a meta description.
In /themes/classic-rocket/templates/_partials/microdata-jsonld.tpl is:
{/if}
{if isset($product) && $page.page_name == 'product'}
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Product",
"name": "{$product.name}",
"description": "{$page.meta.description}",
"category": "{$product.category_name}",
"sku": "{$product.reference}",
But unfortunately when I display the source of the product page this variable is empty:
I noticed that if I create a "short description" in BO or write it in the "SEO" tab it inserts correctly.
Is there any way to modify the code so that the "short description" is automatically substituted from the "long" description field? Taj how it is in the visual preview in BO?
Forgive such a simple question but I'm a noobie at modifying code.