When editing a new page or enhancing an existing page (such as the Home Page, Order Details page, etc.), SMT admins can change the page layout, assuming the active extension allows it. To do so, the extension must register a template as a selectable alternative for the page type associated with the page being edited.
As the extension developer, you can register as an alternative layout for one or more page types. These can be any newly registered page type or a pre-existing, core page type (as listed below). To make a template available as an alternative layout for a pre-existing page, include the appropriate page type to the
pageTypes array when you register your template. See Register a Template for details.
For example, to create an alternative layout for the Order Details enhanced page, add
OrderDetail to the
pageTypes array when you register the template.
The following lists includes the core page types supported by SuiteCommerce. These are available as CMS Page Type records with the latest version of SuiteCommerce or SuiteCommerce Advanced. However, to make these page types available for SMT, you must edit the associated record to make it CMS Creatable. See CMS Page Types for details.