liip / magento-order-email-jsonld
Add JSON-LD markup to new order email
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 6
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: 7.0.2|7.0.4|~7.0.6|~7.1.0
Suggests
- magento/framework: You must require magento framework in your project.
This package is auto-updated.
Last update: 2024-10-12 21:04:51 UTC
README
Overview
This extension provides an email variable, which contains JSON-LD object, so the 'new order' emails could inject it.
Setup
Installation
composer require liip/magento-order-email-jsonld
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
In your 'new order' email template add following line:
<script type="application/ld+json">{{var json_ld|raw}}</script>