Migrate static sections to section groups

Section groups give merchants the flexibility to add, remove, and reorder sections in their theme's layout without making changes to the theme code.

If you created your theme before section groups became available, then you might render one or more sections statically in your layout file. Because section groups are more flexible and reduce the need for code changes, you should replace the statically rendered sections in your layout files with section groups that contain the sections by default.

When you migrate static sections to section groups, Shopify attempts to migrate any applicable settings for the merchant during the theme update process.