Region definitions and region rendering in page and layout types
Key Takeaway
Declare regions in region_definitions and render each one with PageMgr.renderRegion(). With no render settings, the region and each visible component inside it get a div wrapper with experience- classes.
In Page Designer, a region is an area of a page or component where a merchant places components, such as a header, main or footer area. Developers declare regions in the JSON meta definition file of a page type or a layout component type. They then render those regions from the type's script file and ISML template, so the merchant's components show up in the storefront.
Region definitions in page types
A page type's JSON meta definition file lists its regions in region_definitions. Each region has an id, such as header, main or footer, and a name. Merchants drag components into these regions in the Page Designer visual editor in Business Manager.
You can localize the region names that merchants see in the page type's resource bundle, with keys such as region.header.name=Header. Without a resource bundle, the visual editor uses the names in the meta definition file.