- Posts: 29
- Thank you received: 0
og:description
6 years 1 month ago #324191
by smoothie
og:description was created by smoothie
-- url of the page with the problem -- :
hungarianflavours.com/webaruhaz/blansirozott-mandula-1kg
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.0
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Chrome 85.0.4183.83
-- Error-message(debug-mod must be tuned on) -- : og:description
Hello,
My product page site has 2 description tag,
One of them is pure meta description from Hikashop description meta field.
Other one come I suppose from Hikashop Social Network plugin.
How can I state Hikashop meta description for og:description ?
hungarianflavours.com/webaruhaz/mandula-porkolt-1kg
Best regards
Krisztian
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.0
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Chrome 85.0.4183.83
-- Error-message(debug-mod must be tuned on) -- : og:description
Hello,
My product page site has 2 description tag,
One of them is pure meta description from Hikashop description meta field.
Other one come I suppose from Hikashop Social Network plugin.
How can I state Hikashop meta description for og:description ?
hungarianflavours.com/webaruhaz/mandula-porkolt-1kg
Best regards
Krisztian
Please Log in or Create an account to join the conversation.
6 years 1 month ago #324196
by nicolas
Replied by nicolas on topic og:description
Hi,
The og:description tag is generated by the HikaShop social network plugin using the product description indeed.
To change that to use the meta description, you would have to edit the file plugins/system/hikashopsocial/hikashopsocial.php and change the line:
$ret->description = $element->product_description;
to:
$ret->description = $element->product_meta_description;
The og:description tag is generated by the HikaShop social network plugin using the product description indeed.
To change that to use the meta description, you would have to edit the file plugins/system/hikashopsocial/hikashopsocial.php and change the line:
$ret->description = $element->product_description;
to:
$ret->description = $element->product_meta_description;
The following user(s) said Thank You: smoothie
Please Log in or Create an account to join the conversation.
6 years 1 month ago #324201
by smoothie
Replied by smoothie on topic og:description
Thank you very much
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds