Wishlist
Introduction
Enabling the Wishlist
<div
data-carpose-component="vehicle-search-form"
data-api-key="your-api-key"
data-wishlist="true"
></div>Behavior
Notes
Last updated
The Wishlist is a feature of the Vehicle Search Form, not a standalone embeddable component. There is no data-carpose-component="wishlist" — it is enabled with the data-wishlist attribute on the search form.
When wishlist functionality is enabled, visitors can save vehicles to a favourites list that persists between sessions (stored in the browser's localStorage). A floating wishlist button gives access to a slide-out drawer of saved vehicles, from which the visitor can send an inquiry, remove vehicles, or open a vehicle's detail page.
<div
data-carpose-component="vehicle-search-form"
data-api-key="your-api-key"
data-wishlist="true"
></div>Adds a WishlistButton to each vehicle card and a WishlistFloatingButton to the UI
Wishlist state persists across sessions via localStorage
Visitors can send inquiries for multiple saved vehicles at once
Success messages are shown when adding or removing vehicles
The wishlist is stored per-browser; no account is required
See also Vehicle Comparison, which can be enabled alongside the wishlist
For the full list of search-form options, see the Vehicle Search Form
Last updated