Hello,
We have website on cs cart with version 4.2.2. Even though we have set meta description for the products, for some of the products Google is not using the meta description in the Google search results.
Although unique meta description has been set for the products, google is showing product escription in its search results
URL - https://www.babyblooms.co.uk/baby-gifts/bouquets/hand-tied-bouquet-pink/
Can anyone help me on this?
Thanks
app/addons/seo/func.php
replace
if (!empty($product_data['full_description'])) {
$description = $product_data['full_description'];
} elseif (!empty($product_data['short_description'])) {
$description = $product_data['short_description'];
}
with
if (!empty($product_data['meta_description'])) {
$description = $product_data['meta_description'];
} elseif (!empty($product_data['full_description'])) {
$description = $product_data['full_description'];
} elseif (!empty($product_data['short_description'])) {
$description = $product_data['short_description'];
}
(!) Not tested
I am not able to find this code in this file. Google search result is not displaying the meta description. Is there any specific reason? I have also re-indexed the URL in webmasters but no use.
.
Sorry, for old version please edit the following file
design/themes/TEMA/templates/addons/seo/hooks/products/view_main_info.pre.tpl
replace
{$product.full_description|default:$product.short_description}
with
{$product.meta_description|default:$product.short_description}
Then clear cache