How to Add the Corso Snippet to Shopify Order Confirmation Emails
Getting Started
Section titled “Getting Started”How to Add the Corso Snippet to Shopify Order Confirmation Emails
Section titled “How to Add the Corso Snippet to Shopify Order Confirmation Emails”You can add a Corso snippet to your Shopify order confirmation email that displays only when a customer purchases Package Protection—whether it’s through the product or shipping rate method.
This snippet gives customers clear instructions on how to file a claim or contact Corso, helping reduce your support load and improving the post-purchase experience.
Why Add This Snippet?
Section titled “Why Add This Snippet?”✅ Automatically routes shipping claims to Corso
✅ Gives protected customers clear next steps
✅ Reduces customer support tickets for your team
How to Add the Snippet in Shopify
Section titled “How to Add the Snippet in Shopify”1. Go to Notification Settings
Section titled “1. Go to Notification Settings”In your Shopify admin, navigate to:
Settings > Notifications > Order Confirmation
2. Choose Where to Place the Snippet
Section titled “2. Choose Where to Place the Snippet”Scroll through the HTML email template and find where you’d like to place the Corso message.
We recommend placing it just below the “Visit our store” button in the default template.
3. Paste in the Snippet
Section titled “3. Paste in the Snippet”Use the version provided in the knowledge base or provided by your Corso onboarding team. It should look something like this:
<!--Corso Code Start--> {% for line in subtotal_line_items %} {% for vendor in line.product.vendor %} {% if vendor contains 'Corso' or order.attributes._corsoSpGuarantee == 'true' %} {% assign hasCorso = true %} {% break %} {% endif %} {% endfor %} {% endfor %} {% if hasCorso %} <tr> <td><div style="padding: 20px; margin: 0 auto; border-top: 1px solid #DDD; border-bottom: 1px solid #DDD; max-width: 560px; width: 100%; box-sizing: border-box; text-align: center;"> <div style="padding-bottom: 10px;"> <img style="width: 80px; max-width: 100%;" src="https://corso-media.sfo3.cdn.digitaloceanspaces.com/img/Corso_Horizontal-Lockup_Black.png" alt="corso logo" title="corso logo"> </div> <p style="color: #777; line-height: 150%; font-size: 16px; margin: 0; padding: 0 10px;"> Thanks for choosing a Corso shipping option. Should you have any shipping issues with lost, damaged, missing, or stolen items, simply go <a href="https://corso-sandbox-extension-test.myshopify.com/pages/manage-your-order?order_id={{order.id}}" style="color: #007bff;">here</a>. If you don't want streamlined resolutions for shipping issues or if this was added by mistake, <a href="https://forms.clickup.com/42065550/f/183qme-6271/JLVXFC17A70G600A8N?What+store+did+you+order+from%3F=Carl's+Surf+Shop&What+is+the+order+number%3F={{order_number}}&What+is+the+email+address+on+the+order%3F={{customer.email}}" style="color: #007bff;">please contact us</a>. </p> </div> </td> </tr> {% endif %}<!--Corso Code End-->
4. Customize the URLs
Section titled “4. Customize the URLs”You’ll need to update two parts of the snippet:
Claim link:
Replace your-brand
with your Corso slug
(Found in Corso Admin under Settings > Shipping Claims)
Form link:
Replace Your+Store+Name
with your actual store name
(Use +
between words if your store name has spaces)
5. Save and Preview
Section titled “5. Save and Preview”Once you’ve added the snippet:
- Click Save in Shopify
- Use the “Preview email” button
- Or inspect the email using your browser’s developer tools to confirm the snippet appears correctly
Note: The snippet will only display when the order includes a Corso-protected shipping line or the Corso product (vendor = Corso). It will not show for unprotected orders.
Need Help?
Section titled “Need Help?”We’re happy to help you customize and place this snippet. If you’d prefer our team to handle this setup or need assistance finding your Corso URLs, just reach out.