Development discussions around Shopify APIs
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 %}
User | RANK |
---|---|
8 | |
7 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By