> For the complete documentation index, see [llms.txt](https://docs.nosto.com/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nosto.com/shopify/features/outdated-asset-api-approach/shopify-sections.md).

# Shopify Sections

* [Shopify sections](#shopify-sections)
  * [Introduction](#introduction)
  * [How it works](#how-it-works)
  * [Add new placement](#add-new-placements)

## Introduction

Nosto supports Shopify sections. You can add new placements through sections or drag-and-drop existing ones.

{% hint style="info" %}
Our implementation for sections is limited only to Shopify Online Store 2.0. This is based on Shopify architecture. [Read more](https://shopify.dev/themes/architecture/sections/section-schema#access-section-settings)
{% endhint %}

## Enable sections feature

To enable sections navigate to the `Shopify Settings` tab in your Nosto account, or `Settings` > `Integrations` > `Shopify` > `Manage`. You can find it easily under `Dashboard > Go to Shopify Settings`. On the settings page, navigate to the `Settings` tab click the enable button.

{% hint style="info" %}
To add sections to existing themes with Nosto please remove Nosto from the theme and install again, or refresh theme.
{% endhint %}

![image](https://user-images.githubusercontent.com/44775916/190137971-e989aeef-25fa-4b55-9e0a-c9dc666dbf16.png)

## How it works

When enabled on Nosto's end, our app will create a new section under `sections` named `nosto-placement.liquid`. The default Nosto placements will be added on the template JSON file.

![image](https://user-images.githubusercontent.com/44775916/169779382-ead881c6-06f7-42c4-82f4-19ad0ce62941.png)

You can find the placements on the theme editor under the name of `Nosto placement`. The placement id is passed as a setting parameter.

![image](https://user-images.githubusercontent.com/44775916/169779615-833226bb-36cc-4dc6-92f1-3e376ef626fa.png)

## Add new placements

You can add more placements to your theme based on the section. In case you are adding through the code editor, you need to pass the placement id under the settings object with key `placement`.

```json
    "productpage-nosto-1": {
      "type": "nosto-placement",
      "settings": {
        "placement": "productpage-nosto-1"
      }
    }
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nosto.com/shopify/features/outdated-asset-api-approach/shopify-sections.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
