Update the order refund email template for Shop Campaigns
You can update the Order refund notification template to display Shop Campaigns offers and Shop Cash in the transaction report of the email that you send customers when an order is canceled.
Steps:
From your Shopify admin, go to Settings > Notifications.
Click Customer notifications.
In the Order exceptions section, click Order refund.
Click Edit code.
- Locate the
{% if transaction.kind == 'refund' %}
code line and replace with the following code line:{% if transaction.kind == 'refund' and transaction.gateway != "shop_offer" %}
- Locate the
Optional: Click Preview to preview your changes.
Click Save.