liip/magento-order-email-jsonld

Add JSON-LD markup to new order email

Installs: 10

Dependents: 0

Suggesters: 0

Stars: 1

Watchers: 4

Forks: 0

Open Issues: 0

Type:magento2-module

0.0.3 2017-10-31 14:17 UTC

README

Overview

This extension provides an email variable, which contains JSON-LD object, so the 'new order' emails could inject it.

Setup

Installation

  1. composer require liip/magento-order-email-jsonld
  2. bin/magento setup:upgrade
  3. bin/magento cache:clean

Configuration

In your 'new order' email template add following line:

<script type="application/ld+json">{{var json_ld|raw}}</script>