For the complete documentation index, see llms.txt. This page is also available as Markdown.

Wishlist

Introduction

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.

Enabling the Wishlist

<div
  data-carpose-component="vehicle-search-form"
  data-api-key="your-api-key"
  data-wishlist="true"
></div>

Behavior

  • A wishlist button appears on each vehicle card, and a floating wishlist button gives access to the saved-vehicles drawer

  • 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

Notes

  • 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