Better SEO by adding meta_desc in meta-description

  • Mark Govaerts
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 months 3 weeks ago #131211 by Mark Govaerts
Hi,

i found out that the meta-description just contains of the product name and does not include the meta-description.

In components \ com_eshop \ helpers \ helper.php, for now, i changed the rule from:
$document->addCustomTag('<meta property="og:description" content="' . $product->product_name . '"/>');

to:
$document->addCustomTag('<meta property="og:description" content="' . $product->product_name .' '. $product->meta_desc . '"/>');

I know this disappears at the next update. So can you please add this in a new version of eShop? It would be beter for the SEO of products.

Just a smell request ;-)

kind regards,

Mark

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong