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 onshowExpandButton (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.
drawer.listDetail.expand and drawer.listDetail.collapse in translations.
To style the expanded drawer with custom CSS, target .sheet-container.expanded.
Further reading
- List detail page for the standalone full-page configuration
- Lists for the lists view configuration
- Views overview for how sections work