Magento 2 Tips - How to remove default Schema.org Microdata

preview_player
Показать описание
Github Extension

Porto Theme

Google Structured Testing Tool

Mageworx Article

As much as I want to give them top marks for effort, it’s a little broken. At the time of writing this article, the output of Offer Price includes the currency symbol. However, Google have changed their policy so any symbol included with the price pulls up a warning. It can also conflict with 3rd party extensions by contradicting fields.

Not only that, but the selection of microdata is a little limited and not configurable in the backend. So at this stage you might think “sod it, I’ll grab an extension”. Or perhaps your theme might come with Microdata support already like Porto for Magento 2.

In cases like these, you will end up with 2 or more sets of microdata when checking using Google Structured Testing Tool.

I don’t want to take credit for this code, but what I have done is package the extension for you. That way you won’t have to build the extension from scratch.

You can access this extension via the Digital Startup Github. If you’re a developer, please feel free to contribute to the code.

Now you are free to proceed with other 3rd party extensions without worrying about any conflicts.

Big shout out again to Mageworx for providing the instructions.

MAGENTO 2 SPECIAL OFFERS
Рекомендации по теме
Комментарии
Автор

Hopefully this helps solve some or your issue too 😀

DigitalstartupUk
Автор

This extension no longer work with Magento 2.3.x

sorintutu
Автор

useful, keep up the good work, will appreciate If you give us some tips about the regular hosting companies like godaddy hostgator how far you can depend on thier server If your site contains many videos and products.

HOSAMALSA-EDY