Fragments#
Fragments are a specialized type of page that can be directly referenced within page templates using the
Fragments operate at a level above Content Sections, offering the ability to assign items and execute template code. However, they don’t function as fully independent runtime pages—they sit between Content Sections and full pages in terms of capabilities. Fragments are versioned across branches and support item assignment, but they cannot be directly accessed at runtime and do not support caching or URI generation, similar to admin and layout pages.
A ‘Fragments’ tab is located in the User Interface screen, enabling the creation and modification of fragments directly within the admin. Fragments can be copied, but unlike full pages and layouts, they cannot be copied across other page types, maintaining their unique use case within the system
User Interface: Fragments Tab#
A “Fragments” tab within User Interface > Templates tab has been added with three default fragments; Global Header (global_header
), Global Footer (global_footer
), and Product List Additional Data (product_list_additional_data
).
Note
Copying a fragment is available however, copying a page/layout to a fragment and vice versa is not supported.