Collection Buttons
Wishlist buttons for product collections.
Last updated
Wishlist buttons for product collections.
Last updated
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.
Requires the correct theme preset in App Settings
Most themes from the Shopify theme store will work with our Theme Presets. Some themes may require a manual step to enable the Collection Buttons.
Select a Wishlist button style. This uses the global colour and button values from app settings.
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.
Adds a shadow to the collection button. This uses the global shadow values from app settings.
Adjust the Wishlist button icon style. Icons will use the global colour values from app settings.
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).
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.
The reference element is defined in a single line of JavaScript code. The code gets a single argument named target, which is a light wrapper around the product link. If you want the buttons to float over the product link element, you can just set this value to target
.
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