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