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 | Value accepted by the search operation | Uses the specified value instead of the current category when requesting items. |
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. |
showScrollBoolean | true | true, false | Controls the Tile View scrollbar. |
tileHeightNumber | 415 | Pixels | Sets the tile height. |
tileWidthNumber | 240 | Pixels | Sets the tile width. |
tileMarginNumber | 12 | Pixels | Sets the tile spacing. |
tileFlowDirectionString | 'vertical' | Value accepted by the Tile View | Sets Tile View direction. |
showTileBorderBoolean | true | true, false | Controls tile borders. |
enableHighlightOnTileClickBoolean | false | true, false | Controls selection highlighting when a tile is selected. |
pageSizeNumber | -1 | Number | Sets the requested number of 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', 'circle-theme' | Sets the supplied pager theme. |
addToCartButtonTextString | 'Add to Cart' | Text | Sets the add-to-cart button label. |
qtyLabelTextString | 'Qty:' | Text | Sets the quantity label. |
learnMoreLinkTextString | 'Detail View' | Text | Sets the detail-view link label. |
Search, display, and paging options
| Option | Default | Valid values or format | Effect |
|---|---|---|---|
getPricingInResultsBoolean | true | true, false | Uses the pricing-enabled search operation when True. When False, uses the characteristics search operation. |
autoScrollTopOnTileLoadBoolean | true | true, false | Scrolls the page to the top after a paged tile load. |
stockCodeLabelString | 'Model Number' | Text | Sets the label displayed before a stock code. |
noProductsFoundTextString | 'No Products found.' | Text | Sets the message displayed when no items are returned. |
debugModeBoolean | false | true, false | Writes paging and item data to the browser console when True. |
pagingModeString | 'paged' | 'paged', 'endless' | Uses numbered paging or loads additional pages while the shopper scrolls. |
showPagesizeDropdownBoolean | true | true, false | Shows the page-size selector in paged mode. The selector is not shown in endless mode. |
pageSizeLabelString | 'Page Size' | Text | Sets the page-size selector label. |
pagerButtonsDisplayedBeforeEllipsisNumber | 3 | Number | Sets the number of page buttons displayed before an ellipsis. |
enableGoToPageByEllipsisBoolean | true | true, false | Allows the shopper to select a page through the pager ellipsis. |
pagerButtonsAtEdgeNumber | 2 | Number | Sets the number of page buttons displayed at each pager edge. |
pagerShowPrevAtEdgeBoolean | true | true, false | Shows the previous-page control at the first pager edge. |
pagerShowNextAtEdgeBoolean | true | true, false | Shows the next-page control at the last pager edge. |
pagerShowJustOneBoolean | true | true, false | Shows a pager when there is only one page. |
Quick View options
| Option | Default | Valid values or format | Effect |
|---|---|---|---|
enableItemQuickViewBoolean | false | true, false | Replaces tile and list item-detail links with Quick View links when True. |
popup_detailLinkTextString | 'View Item Details' | Text | Sets the item-detail link text in Quick View. |
popup_priceTextString | 'Price' | Text | Sets the price label for stock-code Quick View. |
popup_AddToCartBtnTextString | 'Add to Cart' | Text | Sets the Add to Cart label for stock-code Quick View. |
popup_AddedToCartBtnTextString | 'Added to Cart' | Text | Sets the added-to-cart label passed from stock-code Quick View to the shared cart response handler. |
popUpTitleString | 'Quick View' | Text | Sets the Quick View popup title. |
popup_showStockCodeBoolean | True for stock-code Quick View; False for model Quick View | true, false | Shows the stock code in Quick View. |
popup_showNameBoolean | True for stock-code Quick View; False for model Quick View | true, false | Shows the item name in Quick View. |
popup_showHeadlineBoolean | True for stock-code Quick View; False for model Quick View | true, false | Shows the headline in Quick View. |
popup_showSubHeadlineBoolean | True for stock-code Quick View; False for model Quick View | true, false | Shows the subheadline in Quick View. |
popup_showShortDescriptionBoolean | True for stock-code Quick View; False for model Quick View | true, false | Shows the short description in Quick View. |
popup_showLongDescription2Boolean | false | true, false | Shows Long Description 2 in Quick View. |
popup_showItemDetailLinkBoolean | true | true, false | Shows the optional item-detail link in Quick View. Model Quick View also contains its own item-detail link. |
popupShowTitleBoolean | true | true, false | Shows the Quick View popup title. |
popupShowCloseButtonBoolean | true | true, false | Shows the Quick View close button. |
popupCloseOnOutsideClickBoolean | true | true, false | Closes Quick View when the shopper clicks outside the popup. |
popupWidthNumber | 700 | Pixels | Sets the Quick View popup width. |
popupHeightNumber | 500 | Pixels | Sets the Quick View popup height. |
popupMinWidthNumber | null | Number or null | Sets the minimum Quick View popup width. |
popupMinHeightNumber | null | Number or null | Sets the minimum Quick View popup height. |
popupMaxWidthNumber | null | Number or null | Sets the maximum Quick View popup width. |
popupMaxHeightNumber | null | Number or null | Sets the maximum Quick View popup height. |
popupEnableDragBoolean | true | true, false | Allows the shopper to drag the Quick View popup. |
popupEnableResizeBoolean | false | true, false | Allows the shopper to resize the Quick View popup. |
popupModalBoolean | false | true, false | Applies popup shading when True. |
Model Quick View pricing-grid options
| Option | Default | Valid values or format | Effect |
|---|---|---|---|
pricingGridColumn_SKUtextString | 'SKU' | Text | Sets the SKU column heading. |
pricingGridColumn_PricetextString | 'Price' | Text | Sets the price column heading. |
pricingGridColumn_CheckStockTextString | 'Stock' | Text | Sets the Check Stock column heading. |
pricingGridColumn_QTYtextString | 'QTY' | Text | Sets the quantity column heading. |
pricingGridColumn_AddToCarttextString | '' | Text | Sets the Add to Cart column heading. |
pricingGrid_CheckStockLinkTextString | 'Check Stock' | Text | Sets the Check Stock link label. |
pricingGrid_addToCartBtnTextString | 'Add' | Text | Sets the Add to Cart link label. |
pricingGrid_addedToCartTextString | 'Added' | Text | Sets the added-to-cart label passed from the pricing grid to the shared cart response handler. |
Tile and list display integration
The Items_TileListing widget contains both the grid and list templates. When the Items_SortByDropdown widget is not present, Items_TileListing uses the grid template.
When both widgets are present, Items_SortByDropdown supplies the GetTileListingTemplate function that selects the template used by Items_TileListing. Configure the following options on Items_SortByDropdown, not on Items_TileListing.
| Option | Default | Valid values or format | Effect |
|---|---|---|---|
defaultItemDisplayViewString | 'grid' | 'grid', 'list' | Sets the initial template. The grid template is used by default. |
itemDisplayLayoutOptionsString | 'both' | 'grid', 'list', 'both' | Limits the available display layouts. With 'both', shoppers can use the Grid and List buttons. |
Use Items_SortByDropdown on the same page as Items_TileListing when shoppers must be able to switch between grid and list display. The display-mode options are not read by Items_TileListing itself.
Filter integration
ItemCharacteristics_Filter and ItemPriceRange_Filter adjust the items displayed by Items_TileListing. The filter widgets use Items_TileListing to obtain the current search scope and refresh the listing after a shopper changes a filter.
ItemCharacteristics_Filter provides GetActiveFilters, which Items_TileListing uses when it constructs a search request. ItemPriceRange_Filter also uses this function, when available, so a price-range change retains selected characteristic filters.
Place each filter widget on the same page as Items_TileListing. The filter widgets do not render their own item results.
Validate the listing
- Open a category page and confirm the expected items appear.
- Test child-category and record-type options where configured.
- If Items_SortByDropdown is present, verify the configured initial display and the available Grid and List buttons.
- If a filter widget is present, change a filter and confirm the displayed items refresh.
- 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.