# Migrate data in the Section groups supported version

<div data-full-width="true"><figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2Fa5w6LQkUFhLWSt58jhjP%2FHelp%20Center%20banner%20%201250%20x%20200-2.png?alt=media&#x26;token=ab0daf12-b917-4435-a603-9a3f6613f853" 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](https://docs.foxecom.com/minimog-theme/changelog).
{% 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](https://docs.foxecom.com/minimog-theme/faqs/shopify-functions/does-minimog-support-section-groups).&#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](https://docs.foxecom.com/minimog-theme/getting-started/update-minimog-theme) 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="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FrQVpI45jEufE0WhTBld4%2Fezgif.com-video-to-gif%20(13).gif?alt=media&#x26;token=d24ccacb-d2b6-4dc0-8b65-aa4afee7331b" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FLVOmBsRkihWxum29XhqL%2Fimage.png?alt=media&#x26;token=0ad0d83b-11c5-44c1-b81a-7fe1e35571da" 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="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FC8BW4sWIlDdzqOewwg2E%2Fezgif.com-video-to-gif%20(15).gif?alt=media&#x26;token=a10ee53c-4225-4cba-8dc4-8b84e12578b9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1997835572-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlL6sK9D7unq8F2VPPp%2Fuploads%2FkS1OA17iiNuaDE90q6qT%2Fimage.png?alt=media&#x26;token=152d8ac3-9f4a-4076-9a19-142fcf4ca23d" 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",`
