Answer the question
In order to leave comments, you need to log in
How and what content should be inserted into og:description correctly?
There is such a structure in opencart
<?php foreach ($add_this_meta as $meta) { ?>
<meta property="og:<?php echo $meta['property'] ?>" content="<?php echo $meta['content'] ?>" />
<?php } ?>
< meta property="og:description" content="Описание из карточки товара />
<meta property="og:title" content="Tайтл" />
<meta property="og:url" content="https://domen.ru/canare-2s9f-gry" />
<meta property="og:image" content="https://domen.ru/image/cache/catalog/li/default/25.jpeg" />
<meta property="og:image:width" content="630" />
<meta property="og:image:height" content="525" />
Answer the question
In order to leave comments, you need to log in
All tags are substituted there correctly except description, this tag is taken not from the meta_description field, but from the description in the product card.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question