1. Run the following command in Magento 2 root folder:
composer require mtrzk/magento2-gmail-markup
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
2. Configure module in Magneto 2 Admin panel
3. IMPORTANT! You need to manually add variable in you email templates (in header in head tag).
{{var gmailMarkup|raw}}
- If you want to use this module you need to check "Email Sender Quality guidelines" section on https://developers.google.com/gmail/markup/registering-with-google
- Enable module, and check order and shipment email via https://www.mail-tester.com/
- Register on this form: https://docs.google.com/forms/d/e/1FAIpQLSfT5F1VJXtBjGw2mLxY2aX557ctPTsCrJpURiKJjYeVrugHBQ/viewform?pli=1
- If you also want to use ViewOrder and TrackAction action you need to check "Actions / Schema Guidelines" section
Version 1.0.1
- Fixed code after code review
- Added ACL for configuration
- Removed not used sequence in module
Version 1.0.0
- First commit
- Added support for Order emails
- Added support for Shipment emails
- Advanced configuration per store