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:

  1. From your Shopify admin, go to Settings > Notifications.

  2. Click Customer notifications.

  3. In the Order exceptions section, click Order refund.

  4. Click Edit code.

    1. Locate the {% if transaction.kind == 'refund' %} code line and replace with the following code line: {% if transaction.kind == 'refund' and transaction.gateway != "shop_offer" %}
  5. Optional: Click Preview to preview your changes.

  6. Click Save.

Can’t find the answers you’re looking for? We’re here to help.