# Policy

A policy represents a single policy of the shop.policies object.

A `policy` represents a single policy of the [shop.policies](https://developer.versacommerce.de/articles/liquid-objects-shop) object.

A single policy can also be referenced directly on the `shop` object, for example [shop.privacy_policy](https://developer.versacommerce.de/articles/liquid-objects-shop).

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.

```liquid
{% assign policy = shop.privacy_policy %}

{{ policy.body }}
```

```html
<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.

```liquid
{{ shop.privacy_policy }}
```

## policy.title

Returns the title of the policy.

```liquid
{% for policy in shop.policies %}
  {{ policy.title }}
{% endfor %}
```

```text
Privacy policy
Refund policy
Shipping policy
Terms of service
```

## policy.url

Returns the relative URL of the policy.

```liquid
{% for policy in shop.policies %}
  {{ policy.url }}
{% endfor %}
```

```text
/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.
