Add Order Status Page Snippet
The Order Status Page snipped needs to be added to Shopify's Order Status Page
Copy the following snippet and follow the instructions below to install it correctly:
{% comment %}
INVETERATE START
{% endcomment %}
{% assign inveterate_display = false %}
{% for item in checkout.line_items %}
{% if item.product.handle contains 'inveterate-subscription' %}
{% assign inveterate_display = true %}
{% endif %}
{% endfor %}
{% if inveterate_display %}
<div class="inveterate-block">
<h2>You're a Member!</h2>
<a href="/account">Return to account page, log in or signup to view your benefits.</a>
</div>
<style>
.inveterate-block {
border: 1px solid #d9d9d9;
border-radius: 5px;
margin-top: 50px;
padding: 15px;
}
.inveterate-block h2 {
margin-bottom: 10px;
}
</style>
{% endif %}
{% comment %}
INVETERATE END
{% endcomment %}
In the Shopify admin navigate to Settings -> Checkout. Scroll down to the "Order status page" section and paste the above snippet into "Additional scripts".

Additional Scripts Field
5. Add Order Status Page Snippet.pdf
474KB
PDF