# Basics

## Example

This is a simple example of a section that displays all products:

<pre class="language-html"><code class="lang-html"><strong>&#x3C;section>
</strong><strong>    {{ collection:products }}
</strong>        &#x3C;div>
            &#x3C;h2>{{ title }}&#x3C;/h2>
            &#x3C;div>{{ price }}&#x3C;/div>
            &#x3C;div>{{ snipcart:buy }}&#x3C;/div>
        &#x3C;/div>
    {{ /collection:products }}
&#x3C;/section>
</code></pre>

## Multi-Site

Snipcart doesn't fully support multiple localizations. The only localizable field supported by Snipcart is a product's price. You may localize a few other fields such as a product's title and description. But those fields are solely for templating purposes and will fall back to the product's root locale when getting the Snipcart button attributes.


---

# 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://snipcart.michaelaerni.ch/templating/basics.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.
