Installing Email & Newsletter Templates
Beta release
This module is in beta and requires the Hyvä CMS 1.3.0-beta1 beta release as its base. Follow the beta upgrade notes for the exact Composer commands, including the stability constraint your root composer.json needs.
This guide covers installing the Hyvä Email & Newsletter Templates module with Composer. The module extends Hyvä CMS, so make sure Hyvä CMS is installed first.
Prerequisites
- Hyvä CMS installed and enabled - see Installing Hyvä CMS
- See Hyvä Commerce Prerequisites for general requirements
Installation
-
Require the
hyva-themes/commerce-module-email-templatespackage -
Run the Magento setup upgrade
Database changes
setup:upgrade creates three tables: hyva_commerce_email_template and hyva_commerce_newsletter_template (per-template settings such as the enabled flag, draft content, and preheader) and hyva_commerce_email_template_version_history (shared version history for both types).
After Installing
Head to Stores → Configuration → Hyvä Commerce → Hyvä CMS and open the Email Templates group:
- Set Enable for Email Templates to
Yes(and Enable for Newsletter Templates in its own group, if you use newsletters). - Use the Create Email Templates button to generate Hyvä versions of the standard transactional emails from the built-in presets.
- Use the Map Templates to Configuration button to point Magento's sales and customer email settings at the new templates.
See Configuration for what each setting does before you run the setup buttons.
Related Topics
- Configuration - Full settings reference, including the setup buttons
- Building Email Templates - Your first template in the editor