This guide walks you through customizing your Shopify order confirmation email so that SuperSwipe draw entries receive a clean, focused confirmation email with an entry status button, while normal orders remain unchanged.
You’ll be editing two things in your Shopify admin:
- The Email subject field
- The Email body (HTML) field
How to Access the Template
Go to Settings → Notifications → Customer notifications
Click Order confirmation
Click Edit code
Part 1: Email Subject
Replace your entire Email subject field with the following:
{% assign is_superswipe = false %}
{% for line in line_items %}
{% for prop in line.properties %}
{% if prop.first == '_superswipe_launch_id_' %}
{% assign is_superswipe = true %}
{% break %}
{% endif %}
{% endfor %}
{% if is_superswipe %}{% break %}{% endif %}
{% endfor %}
{% if is_superswipe %}
Your entry is confirmed
{% else %}
Order {{ name }} confirmed
{% endif %}What this does: If the order was placed through a SuperSwipe draw, the customer sees “Your entry is confirmed” as the subject. Otherwise, they see the standard “Order #1001 confirmed” format. The detection works by checking the order’s additional details for a SuperSwipe launch ID, which is only present on draw entries.
Part 2: Email Body (HTML)
You need to make four small changes in the email body. The rest of the template stays exactly the same.
Step 1: Add the SuperSwipe order check
Find this line near the top of the template (around line 8):
{% capture email_title %}Add these lines directly above it:
{% assign is_superswipe = false %}
{% for line in line_items %}
{% for prop in line.properties %}
{% if prop.first == '_superswipe_launch_id_' %}
{% assign is_superswipe = true %}
{% break %}
{% endif %}
{% endfor %}
{% if is_superswipe %}{% break %}{% endif %}
{% endfor %}
Step 2: Update the email title
Find the existing email_title block. It looks like this:
{% capture email_title %}
{% if has_pending_payment %}
Thank you for your order!
{% else %}
Thank you for your purchase!
{% endif %}
{% endcapture %}Replace it with:
{% capture email_title %}
{% if is_superswipe %}
Your entry is confirmed.
{% elsif has_pending_payment %}
Thank you for your order!
{% else %}
Thank you for your purchase!
{% endif %}
{% endcapture %}
Step 3: Update the email body
Find the start of the email_body block. It looks like this:
{% capture email_body %}
{% if has_pending_payment %}Replace those two lines with:
{% capture email_body %}
{% if is_superswipe %}
✅ You’re in! Your SuperSwipe entry has been confirmed.
Please note that an entry does not guarantee selection. You have not been charged at this time.
If you are selected, your payment method will be charged
and your order will be shipped. You can check the status
of your entry at any time using the button below. We will
notify you via email once the draw has closed with your
results.
<table class="row actions" style="margin-top: 20px;">
<tr>
<td>
<table class="button main-action-cell">
<tr>
<td class="button__cell">
<a href="{{ order_status_url }}"
class="button__text">
View Entry Status
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
{% elsif has_pending_payment %}Important: Only change the first two lines of the email_body block. Everything after {% elsif has_pending_payment %} stays exactly as it was.
Step 4: Hide default content for SuperSwipe orders
By default, the template shows buttons, order summary, subtotals, and customer info below the body text. For SuperSwipe orders, we want to hide all of that so the email stays clean.
Find this line (it comes after the email body output):
{% assign transaction_count = transactions | size %}Add this line directly above it:
{% unless is_superswipe %}Then scroll down and find this line near the bottom of the template:
<table class="row footer">Add this line directly above it:
{% endunless %}This hides the default “View your order” / “Track order” buttons, the order summary, subtotals, and customer information for SuperSwipe orders. Your “View Entry Status” button (from Step 3) still shows because it lives inside the email body. The footer with your store’s contact email is also preserved.
What the Customer Sees
For SuperSwipe draw entries, the email will contain only:
No redundant buttons, order summary, pricing, or shipping details are shown.
For normal orders, everything displays exactly as it did before — no changes.
Testing
After making your changes:
1. Click Preview to check that the template renders without errors.
2. Click Send test email to send yourself a sample.
3. Place a test order with a SuperSwipe-tagged product to confirm only the entry message and button appear.
4. Place a normal test order to confirm the default template still works as expected.
Summary of Changes
Need Help?
If something isn’t working, click Revert to default in the template editor to restore the original template, then try the steps again. Make sure each code snippet is pasted exactly as shown. Extra spaces are fine, but missing {% or %} tags will break the template. If you are still having issues please open a ticket and we will assist.