Skip to content

Instantly share code, notes, and snippets.

@carolineschnapp
Created May 3, 2011 20:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save carolineschnapp/954193 to your computer and use it in GitHub Desktop.
Save carolineschnapp/954193 to your computer and use it in GitHub Desktop.
Order Cancellation Template
Dear {{ billing_address.name }},
Your order {{ name }} was cancelled {% case cancel_reason %}{% when 'customer' %}at your request.{% when 'inventory' %}because we did not have enough stock to fulfill your order.{% when 'fraud' %}because we suspect it is fraudulent.{% when 'other' %}due to unforseen circumstances.{% endcase %}
{% if financial_status == 'voided' %}Your payment has been voided.{% elsif financial_status == 'credited' %}Your payment has been refunded.{% endif %}
Please reply to this email if you have any questions or concerns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment