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 install
Create 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 start
Open Shopify admin.
yarn admin
Open order notification pages.
yarn orders
Open shipping notification pages.
yarn shipping
Open local delivery notification pages.
yarn localDelivery
Open local pickup notification pages.
yarn localPickup
Open customer notification pages.
yarn customer
Open email marketing notification pages.
yarn emailMarketing
Open returns notification pages.
yarn returns
Format this project code.
yarn format
Lint this project code.
yarn lint
Fix this project code.
yarn lint:fix
Install missing TypeScript typings.
yarn postInstall
You'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