cinolas Posted January 22, 2020 Share Posted January 22, 2020 Like many of you Im sure I'm receiving Google search console errors about my site using the soon to be deprecated data-vocabulary.org schema. Google will no longer support it as of April 6 2020. How would I go about converting osCommerce 2.3.4 BS to use schema.org instead? There are many pages online showing the differences, which I'm sure I could figure out, but the new schema requires additional data like the position of the item in the breadcrumb. This needs to be calculated to be included. Has anyone done this already? I'm digging around to see if I can manage the change but pointers would be greatly appreciated. Cheers! Link to comment Share on other sites More sharing options...
azpro Posted January 22, 2020 Share Posted January 22, 2020 I did it with the breddcrumb code from Phoenix just yesterday .... seems to work! Google seems happy for most pages! Link to comment Share on other sites More sharing options...
cinolas Posted January 22, 2020 Author Share Posted January 22, 2020 Thanks, I will look into it. Link to comment Share on other sites More sharing options...
cinolas Posted January 22, 2020 Author Share Posted January 22, 2020 It's actually pretty simple: Simply change the markup in /includes/classes/breadcrumbs.php And you can add the <meta itemprop="position" content="3"> part, use ($i+1) for the content and your get the right position. Link to comment Share on other sites More sharing options...
azpro Posted January 24, 2020 Share Posted January 24, 2020 I recommend you use this content module: https://github.com/gburton/CE-Phoenix/blob/master/includes/modules/header_tags/ht_breadcrumb_schema.php Off course you also need to use the changed class: https://github.com/gburton/CE-Phoenix/blob/master/includes/classes/breadcrumb.php And the header module: https://github.com/gburton/CE-Phoenix/blob/master/includes/modules/content/header/cm_header_breadcrumb.php Since you are apparently not on Phoenix / older Community Editions - you might have to add more changes. Link to comment Share on other sites More sharing options...
Krisz1 Posted January 27, 2020 Share Posted January 27, 2020 In addition to the links azpro provided, adding the file https://github.com/gburton/CE-Phoenix/blob/master/includes/modules/content/header/templates/tpl_cm_header_breadcrumb.php and installing the module via Module > header tags solved the issue for my 2.3.4 BS installation. Thank you all, Link to comment Share on other sites More sharing options...
Krisz1 Posted January 27, 2020 Share Posted January 27, 2020 One question though, google's rich results seem to prefer the tag 'SKU' instead of OsC's 'model'. Where can we find the piece of code in breadcrumb to change this? Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.