Order Cancellation Email - Reason values : Items Unavailable

CompanyStore
New Member
1 0 0

Hi,

Among the cancellation reasons in Help topics, I can't find mention for the value for "Items Unavailable"?

cancel_reason: The reason selected when canceling the order. One of: 'inventory', 'customer', 'fraud', 'other'.

Any ideas what value it will be?

I have found, when the customer receives the Order Cancelled Email the body copy is blank as in the email code it doesn't have a line for Items Unavailable reason
Example:

{% elsif financial_status == 'refunded' %}
    {% case cancel_reason %}
    {% when 'customer' %}
      Order {{ name }} was cancelled at your request. <br>Your payment will be refunded within 1-3 Business days
    {% when 'inventory' %}
      Order {{ name }} was cancelled because we did not have enough stock to fulfil your order. <br>Your payment will be refunded within 1-3 Business days
    {% when 'fraud' %}
      Order {{ name }} was cancelled because we suspect it is fraudulent and your payment has been refunded.
    {% when 'other' %}
      Order {{ name }} was cancelled because of unforeseen circumstances. <br>Your payment will be refunded within 1-3 Business days.
    {% endcase %}
  {% endif %}

 

0 Likes