# Storefront

On your storefront, we automatically add and update 2 files:

* inveterate-theme.liquid
* inveterate-checkout.liquid

See [Snippets](https://help.inveterate.com/help-center/guides/snippets) for more information about this.

## What is the Inveterate Storefront code?

The Inveterate Storefront code is code used to implement front end solutions involving memberships. It contains useful data and helpful functions we use for our standard features, as well as merchant to merchant custom features.

## The `inveterate` object

All of the storefront code is contained within a single object called `inveterate`, which is attached to the `window` object.

To explore everything contained in the `inveterate` object, type the following code in your browser console:

```javascript
window.inveterate
```

Visit the following links for more information about what's contained within the `inveterate` object.

{% content-ref url="/pages/gQgzBWkfpgui0nnfHvH9" %}
[Properties](/dev/stack-reference-docs/storefront/properties.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.inveterate.com/dev/stack-reference-docs/storefront.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
