shopify-email-notification is a template repository for email notifications. This template makes it easy to customize notification files at local.
- Previewing notification mails at local server
- Hot reloading of local server
- Referring to default email templates which Shopify provides
- Based on Liquid templates
- Editable notification variables
- TypeScript support
- Multi language support (English and Japanese)
- Built in useful commands
Clone this repository and install dependencies.
yarn installCreate a .env at the root, and then add your shopify admin url.
Replace your-shop-name with yours.
ADMIN_URL=https://your-shop-name.myshopify.com/admin/
Start your project in development mode.
yarn start
Open http://localhost:4000, and then you can preview notification templates.
Recommend you to check out these commands before you get started.
Support commands
Start your project in development mode.
yarn startOpen Shopify admin.
yarn adminOpen order notification pages.
yarn ordersOpen shipping notification pages.
yarn shippingOpen local delivery notification pages.
yarn localDeliveryOpen local pickup notification pages.
yarn localPickupOpen customer notification pages.
yarn customerOpen email marketing notification pages.
yarn emailMarketingOpen returns notification pages.
yarn returnsFormat this project code.
yarn formatLint this project code.
yarn lintFix this project code.
yarn lint:fixInstall missing TypeScript typings.
yarn postInstallYou'll find notification templates in views directories.
- en folder: English templates
- ja folder: Japanese templates
Edit emailEnv.ts if you want to modify the value of notification variables.
server/constants/emailEnv.ts
Pull requests are always welcome.
MIT