How to show a quantity selector on the wishlist page?

This guide walks you through how to display and style a quantity selector in your Wishlist using Swish’s Code Editor.

Enable Quantity Selector

In Swish → Settings → Code Editor → Custom CSS, add:

wishlist-page .wk-page .wk-form .wk-quantity {
  display: inline-flex;
}

Show quantity selector with horizontal counter

Update the Quantity Markup

In Swish → Settings → Code Editor → Custom Product Card, update the .wk-quantity block from:

to:

Add Quantity Counter Logic

In Swish → Settings → Code Editor → Custom Product Card, add the following to your component’s JavaScript:

Style the Counter Buttons

In Swish → Settings → Code Editor → Custom CSS (example CSS)

Last updated