Skip to main content
The list detail view appears when a customer opens a specific list from inside the drawer. It renders the list’s items in one of two layouts, set by layout. The Swish admin doesn’t expose that choice for this view — it renders the gallery layout unless you set layout in code. For the standalone full-page version of this view (the dedicated wishlist page on your store), see List detail page. Default configuration:

list-items-grid

In card layout the product image renders square, rather than following the Global → Components → Product cards → Card image aspect ratio. A portrait image would make each row half again as tall and cut the number of items a customer sees at once, which is the reason to pick card layout in the first place.
showBuyButton only reveals a button that the addToCartButton transform also allows. That transform defaults to true, so supply it only when you want to hide cart buttons for particular products.
showBuyButton controls the solid buy button beneath the card; showQuickBuyButton controls the floating quick-buy button over the card image. They are separate buttons and separate switches, both off by default. To hide quick-buy across every surface at once in code, use the store-wide ui.productCard.showQuickBuyButton switch, which overrides this one.

Full-width view

Turn on showExpandButton (Show expand button in the Swish admin) to give customers an expand button at the start of the list’s header, before the share and menu buttons. It widens the drawer to the full width of the browser, and the grid fills the extra room with more columns, so a long list or a list of large products shows more items at once. While the drawer is expanded:
  • The footer navigation is hidden.
  • The header stays, with its back button and the list’s share and menu buttons.
  • The expand button becomes a collapse button that returns the drawer to its usual width.
The drawer also returns to its usual width when the customer leaves the list, opens another list or closes the drawer. It does not remember the choice between visits. The button shows only on screens 600px wide and up, where the drawer opens as a side panel. Below that, the drawer already fills the width of the screen. Its screen-reader labels are drawer.listDetail.expand and drawer.listDetail.collapse in translations. To style the expanded drawer with custom CSS, target .sheet-container.expanded.

Further reading