Skip to content
On this page

Post Purchase Modal

To prompt customers who have items in their cart that require shipping but did not purchase Order Protection, a script can be integrated into the "thank you" page. This will trigger a post-purchase modal, offering them the option to add protection to their order. To implement this script, go to Settings > Checkout and paste the following script in the Order Status Page section:

html
<!-- Begin Order Protection Post Purchase Modal -->
<script src="https://op-media-asset.s3.us-west-1.amazonaws.com/assets/v3/directpay/post-purchase.js"></script>
<!-- End Order Protection Post Purchase Modal -->

After this script is added you can toggle it on or off in the store settings under Post-Purchase Widget > Post Purchase Modal.

Shopify post purchase modal setting