Skip to main content

Disabling Product Page Microdata

More
9 years 9 months ago - 9 years 9 months ago #258308 by NigelPeck
-- url of the page with the problem -- : www.swiftplantspares.com/jcb-parts/part/...noid-valve-25-220998
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.4.6

Hi,

I am adding my own microdata to product pages (in Google's recommended JSON-LD format) in show_default.php, and would like to disable the microdata that is being added by HikaShop. What's the best way? The "HikaShop Microdata on Product Page plugin" plugin is disabled but there is still microdata on the product pages.

As in:
Code:
<div itemprop="Product" itemscope itemtype="http://schema.org/Product" ... <meta itemprop="image" content="/images/com_hikashop/upload/25-220998.jpg"/>

etc.

Thanks
Nigel

Professional website services including website management, Linux server admin and web hosting.
www.sharphosting.uk/
Last edit: 9 years 9 months ago by NigelPeck.

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

More
9 years 9 months ago - 9 years 9 months ago #258330 by NigelPeck
I found this in "com_hikashop/views/product/tmpl/show.php" and "show_block_img.php" and there doesn't appear to be any option to disable it through the admin or a module etc. as it is just there in the template. So I overrode them and removed the relevant bits of code.

Professional website services including website management, Linux server admin and web hosting.
www.sharphosting.uk/
Last edit: 9 years 9 months ago by NigelPeck.

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

More
9 years 9 months ago #258332 by Jerome
Hi,

Because the microdata content was becoming too complexe, we integrated directly the microdata in the product page.
Now if you want to customize your product pages to display your own content with your own microdata ; you can simply modify/remove the content of the views to let them feet to your requirements.

More details about customization :
www.hikashop.com/support/documentation/1...ize-the-display.html

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: NigelPeck

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

Time to create page: 0.170 seconds
Powered by Kunena Forum