Skip to content

ivoba-oxid/ivoba-json-LD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON-LD Structured Data module for Oxid eShop v6

Add JSON-LD data of your shop to your website. https://developers.google.com/search/docs/guides/intro-structured-data

Add these information to your page:

  • Marketing details like your official name, logo, and social profile info
  • Sitelinks searchbox
  • Breadcrumbs
  • Contact details
  • Product details
  • Lists

Use https://search.google.com/structured-data/testing-tool to verify the outputs

Installation

composer require ivoba-oxid/jsonld

If you have OXID eshop < 6 use v1, check v1 branch of this module.

Usage

In "Erweiterungen -> Module -> Ivo Bathke: JsonLD" enter your settings in the "Settings" tab

Note

  • using RDFa with JsonLD is in most cases double and not needed
  • Flow theme has schema.org data baked in, which should be removed in custom theme, to not have unneeded markup.

Requirements

  • UTF-8
  • PHP >= 7
  • Oxid eShop >= CE 6

Todo

  • add Tests
  • add fields for shopName, Organization name to override Stammdaten
  • add option for beautify json
  • make controller to render only jsonLD to include in script tag

License MIT

© Ivo Bathke

About

JSON-LD structured data module for OXID eShops

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published