ivoba-oxid/jsonld

JsonLD module for OXID eShop 6.

Installs: 1 094

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 2

Open Issues: 0

Type:oxideshop-module

2.2.6 2020-06-22 09:13 UTC

This package is auto-updated.

Last update: 2024-09-09 09:59:55 UTC


README

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