# Wishlist Source: https://kart.bnomei.com/docs/content/wishlist Updated: 2025-08-08T14:03:16+00:00 Summary: Wishlist management with Kart in Kirby CMS: list products, add, remove, toggle items, save for later or move to cart, and merge guest/customer wishlists. ## List products in wishlist Code (php): ``` wishlist()->lines() as $line) { /** @var \Bnomei\Kart\CartLine $line */ /** @var ProductPage $product */ $product = $line->product(); ?>
  • title() ?>
  • ``` ## Add product to wishlist Code (php): ```
    ``` ## Remove product from wishlist Code (plaintext): ```
    ``` ## Toggle product in wishlist Code (php): ``` wishlist()->has($product) === false) { ?>
    later() ?>">
    ``` ## Merging of guest and customer wishlist When an anonymous user logs into their account, the cart and wishlist from their anonymous session will be merged with the data saved on their account. On logout, the cart and wishlist of the current session will be cleared.