Skip to main content
This guide covers how to add the Order Protection File a claim block to the order confirmation email templates.
1

Order Confirmation template

Find your order confirmation email template and add a HTML block.The HTML block should go above the order confirmation content and above the footer.
2

Adding the code snippet

Paste the below code snippet into the content field.
<!-- Order Protection Section -->
<table
  class="row order_protection"
  width="100%"
  cellpadding="0"
  cellspacing="0"
  border="0"
  style="border-collapse: collapse; margin: 0 auto;"
>
  <tbody>
    <tr>
      <td align="center" style="padding: 20px;">
        <h2
          align="center"
          style="margin: 0 0 16px 0; font-size: 20px; font-weight:
bold; font-family: Arial, sans-serif; color: #000; text-align: center;"
        >
          Issues with your order?
        </h2>
        <p
          style="margin: 0 0 16px 0; font-size: 14px; line-height: 20px; font-family:
Arial, sans-serif; color: #333; text-align: center;"
        >
          Luckily, you purchased Order Protection! Submit a claim to quickly
          resolve lost, damaged, stolen, or wrong item issues with your order.
          Once approved, you will receive a refund or reshipment at no
          additional cost.
        </p>
        <!-- Button -->
        <table
          align="center"
          cellpadding="0"
          cellspacing="0"
          border="0"
          style="margin: 0 auto;"
        >
          <tbody>
            <tr>
              <td align="center" bgcolor="#000" style="border-radius: 4px;">
                <a
                  href="https://claim.orderprotection.com/"
                  target="_blank"
                  style="display: inline-block; padding: 12px 24px; font-size: 14px; font-weight:
bold; font-family: Arial, sans-serif; color: #ffffff; text-decoration: none;
background-color: #000; border-radius: 4px;"
                >
                  FILE A CLAIM
                </a>
              </td>
            </tr>
          </tbody>
        </table>
        <!-- Cancel Link -->
        <p
          style="margin: 16px 0 0 0; font-size: 12px; line-height: 18px; font-family:
Arial, sans-serif; color: #666; text-align: center;"
        >
          Didn't mean to purchase protection?
          <a
            href="#"
            target="_blank"
            style="color: #0066cc; text-decoration:
underline;"
            >Cancel it here</a
          >.
        </p>
      </td>
    </tr>
  </tbody>
</table>
3

Setting up the logic builder

Under the Display tab, select Use Logic Builder.Use logic builder to correctly identify orders that have Order Protection. We recommend utilizing Shopify tags to identify OP orders. Depending on your store’s price settings you will be looking for the tag “OP:CustomerFunded” or “OP:BrandFunded”. You can verify the price settings tag in the Order Protection app under Settings > General.

That's it!

Your Order Protection claim filing block is configured within your Klayvio order confirmation email template. Make sure to preview and test before pushing live. 🚀

Questions or suggestions?

If you are having difficulty enabling your integration or have suggestions on how the integration could be better, reach out to onboarding@orderprotection.com.
I