The XML templates for the PromotionalContent-ATGSlot
, PromotionalContent-ATGTargeter
, ProductSpotlight-ATGSlot
, and ProductSpotlight-ATGTargeter
cartridges are located in equivalently named directories in the <ATG11dir>/CommerceReferenceStore/Store/Storefront/deploy/cartridge_templates
directory. Each template sets its cartridge’s content type to MainContent
and defines the following properties:
componentPath
: This property defines either a partial or a full path to the ATG slot or targeter that is providing the content. If a partial path is provided in Experience Manager, the cartridge handler prepends this value with the correct ATG registry path. The registry path that is prepended comes from a property that is specified on the handler, as described below.itemCount
: This property determines the number of items the cartridge will render. For thePromotionalContent
cartridges, this value is fixed at 1 and is not editable in Experience Manager. For theProductSpotlight
cartridges, this value defaults to 4 and is editable in Experience Manager. Out of the box, Commerce Reference Store is designed to handle four products on a single line in the main content area; if more than four products are returned, the products wrap to a new line.