liip/magento-order-email-jsonld

Add JSON-LD markup to new order email

0.0.3 2017-10-31 14:17 UTC

This package is auto-updated.

Last update: 2024-12-12 21:18:36 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>