Wishlist buttons for collections.
These buttons will float on top of the product images. Our collection buttons work straight out of the box for all current themes from the official Shopify theme store. If your theme is not listed in our presets, or for some reason isn’t compatible, we will manually add some code to make this work.
Position the floating button relative to the product image (e.g. bottom right corner).
Offset the the floating button position.
- Horizontal offset Negative values move the button left, positive values move the button right.
- Vertical offset Negative values move the button down, positive values move the button up.
Collection buttons will always have a clickable area of 48px width and height. This helps especially on touch devices to make sure the buttons are easy to use. However, you can adjust the visible background size and styling without effecting the clickable area.
Search & filter app preset
We have presets for popular collection filter and search apps to inject our wishlist buttons into their code.
In some cases a manual setup is required.
- AI Search, Filter & Recommend by Boost
- Algolia Search and Discovery
- Smart Product Filter & Search by Globo
- Smart Search Bar & Filters by Searchanise
- Smart Search & Product Filter by SoBooster
To manually setup wishlist buttons for your collections, every button requires two things:
- Product link The product link is used to connect the wishlist button to a specific product/variant.
- Reference element The wishlist button will float over this element (e.g. product image).
Product link selector
The product link is defined by a CSS selector, which points to an anchor element with a product page href. We recommend to be as specific as possible with this selector to avoid injecting the button in unwanted places. We often use a selector with a pattern match to reference product links.
.card .card__heading > .full-unstyled-link[href*="/products/"]
In case you want to float the wishlist button over another element, use these chain-able methods to reference another element.
closest(selector: string)Query a parent html element. Learn more
find(selector: string)Query a child html element. Learn more