# Migrate data in the Section groups supported version

<div data-full-width="true"><figure><img src="/files/1OZ2q7N6tFYitFzBKwTz" alt=""><figcaption><p><a href="https://foxecom.com/pages/affiliate?utm_source=minimog%2Bhelp%2Bcenter&#x26;utm_medium=banner&#x26;utm_campaign=foxaffiliatelaunch2024">Explore FoxEcom Affiliate Program now </a><span data-gb-custom-inline data-tag="emoji" data-code="2728">✨</span></p></figcaption></figure></div>

{% hint style="info" %}
✨ The **Section groups** feature **is supported in Minimog theme** **version 3.4.0 and above**. ✨\
View [Changelog](/minimog-theme/changelog.md).
{% endhint %}

Section groups give merchants the flexibility to add, remove, and reorder sections in the theme layout without making changes to the theme code. To learn more about this feature, see [this article](/minimog-theme/faqs/shopify-functions/does-minimog-support-section-groups.md).&#x20;

If your current Minimog version is 3.3.0 or older, follow the quick steps below to migrate data of the Section groups feature after [updating the theme](/minimog-theme/getting-started/update-minimog-theme.md) to the latest version.

There are four sections that need to be migrated, namely:&#x20;

* Announcement bar;
* Header;
* Footer;
* and Mobile sticky bar.

If you don't use the Announcement bar in your current theme, there is no need for you to migrate the data of this section.

{% hint style="success" %}
Steps:

1. In your Shopify admin, locate your updated version, and go to **Actions** > **Edit code**.
2. Access the file **settings\_data.json.**
3. In the old version, locate and copy the code of each section, then move it to the relevant files of section groups of the updated version
   1. **header-group.json** (for the announcement bar and header section); or
   2. **footer-group.json** (for the footer and mobile sticky bar section).
4. Click **Save**.
   {% endhint %}

**For example**: Copy the entire code of the Header (below the code line `"type": "header",`).

<figure><img src="/files/zSBmbyKraMUEU32HLTtH" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/sqf3ADDL8VmZlfZajDOi" alt=""><figcaption></figcaption></figure>

Then, go to **header-group.json,** replace the current content of that section (below the line`"type": "header",` - around line 17) with the copied content.

<figure><img src="/files/6Px6DCpcVn5B2yoQnYJu" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/AxMUqhfYm2DRUdPCFngY" alt=""><figcaption></figcaption></figure>

Do the same with other sections.

* Announcement bar: find `"type": "annoucement",`
* Footer: find `"type": "footer",`
* and Mobile sticky bar: find `"type": "mobile-sticky-bar",`


---

# 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://docs.foxecom.com/minimog-theme/faqs/shopify-functions/migrate-data-in-the-section-groups-supported-version.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.
