A policy represents a single policy of the shop.policies object.
A single policy can also be referenced directly on the shop object, for example shop.privacy_policy.
You set these policies in the legal settings of your shop admin.
The policy object has the following attributes:
policy.body
Returns the content of the policy.
{% assign policy = shop.privacy_policy %}
{{ policy.body }}
<h2>PRIVACY STATEMENT</h2>
<h3>SECTION 1 - WHAT DO WE DO WITH YOUR INFORMATION?</h3>
<p>When you purchase something from our store...</p>
Referencing the policy object directly also returns the content of the policy.
{{ shop.privacy_policy }}
policy.title
Returns the title of the policy.
{% for policy in shop.policies %}
{{ policy.title }}
{% endfor %}
Privacy policy
Refund policy
Shipping policy
Terms of service
policy.url
Returns the relative URL of the policy.
{% for policy in shop.policies %}
{{ policy.url }}
{% endfor %}
/policies/privacy-policy
/policies/refund-policy
/policies/shipping-policy
/policies/terms-of-service
Policy pages are rendered inside the theme's theme.liquid layout file.