Skip to content
On this page

Thank You Page ‚Äč

A script can be added to the order "thank you" page so customers can see that their order is protected and easily file a claim if needed. To add this script, go to Settings > Checkout and accounts and paste the following script in the Order Status Page section:

<!-- Begin Order Protection Thank You Widget -->
<script src=""></script>
<script src=""></script>
let orderId = '{{order_id}}';
let orderNumber = '{{order_number}}';
let customerEmail = '{{}}';
 {% for line in checkout.line_items %}
  {% if line.vendor == 'Order Protection' %}
     getOrderProtectionWithCancel(orderId, orderNumber, customerEmail);
  {% endif %}
 {% endfor %}
<!-- End Order Protection Thank You Widget -->