thisislawatts / shopify-local-notifications

Test Shopify Notifications locally

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shopify Notifications

Code Climate Dependency Status

A tool to help test email templates locally when customising notifications.

Check the templates variables documentation for a full list of the available objects.

Usage

ruby email-preview.rb

Then open it up in the Browser at http://localhost:4567/

Getting Order Information

If you've got a particular order you'd like to work with, you can get easily get this information from a Shopify store in JSON format.

  1. Visit the Order section and load up the order you want
  2. In the browser's address bar append .json to the URL.
  3. Copy and paste the content to data/{template_name}.json

Development

rerun 'ruby email-preview.rb'

About

Test Shopify Notifications locally

License:MIT License


Languages

Language:Liquid 97.9%Language:Ruby 2.1%