Items_TileListing Widget
The Items_TileListing widget presents category or search-result items as tiles. The source item scope comes from the current category or shopper search and can be refined through widget options.
Add the widget to a page
<Control src="LoadWidgetControl.ascx"
FileLocation="Items_TileListing.html"
Options="tileHeight: 415,
tileWidth: 240,
pageSize: -1" />
Widget options
| Option | Default | Valid values or format | Effect |
|---|---|---|---|
includeItemsFromAllChildCategoriesBoolean | false | true, false | Includes items from child categories. |
overrideCategoryListString | Not specified | Comma-separated category identifiers | Limits the listing to specified categories. |
includeModelsBoolean | true | true, false | Selects whether models are included. |
includeStockCodesBoolean | true | true, false | Selects whether stock codes are included. |
includeSKUsBoolean | false | true, false | Selects whether SKUs are included. |
heightString | 'auto' | CSS height | Sets the list container height. |
showScrollBarBoolean | true | true, false | Controls list-container overflow behavior. |
tileHeightNumber | 415 | Pixels | Sets the tile height. |
tileWidthNumber | 240 | Pixels | Sets the tile width. |
tileMarginNumber | 12 | Pixels | Sets the tile spacing. |
tileFlowDirectionString | 'vertical' | 'vertical', 'horizontal' | Sets tile ordering direction. |
showTileBorderBoolean | true | true, false | Controls tile borders. |
enableHighlightOnTileClickBoolean | false | true, false | Controls selection highlighting when a tile is selected. |
pageSizeNumber | -1 | Number; -1 uses the site’s Item Listing Page Size setting | Sets items per page. |
previousPageButtonTextString | 'Prev' | Text | Sets the previous-page navigation label. |
nextPageButtonTextString | 'Next' | Text | Sets the next-page navigation label. |
pagerCSSClassString | 'light-theme' | 'light-theme', 'dark-theme', 'compact-theme' | Sets the supplied pager theme. |
addToCartButtonTextString | 'Add to Cart' | Text | Sets the add-to-cart button label. |
addedToCartButtonTextString | 'Added to Cart' | Text | Sets the add-to-cart status label. |
qtyLabelTextString | 'Qty:' | Text | Sets the quantity label. |
learnMoreLinkTextString | 'Detail View' | Text | Sets the detail-view link label. |
addedToCartMessageTimeoutNumber | 1500 | Milliseconds | Sets the success message duration. |
addToCartErrorMessageTimeoutNumber | 3500 | Milliseconds | Sets the error message duration. |
Validate the listing
- Open a category page and confirm the expected items appear.
- Test child-category and record-type options where configured.
- Verify tile dimensions, paging, and navigation labels at the intended viewport sizes.
- Add an eligible item to the cart and confirm the cart status message and quantity behavior are correct.