Vue Storefront is now Alokai! Learn More
Wishlist

Wishlist

In this section, we will cover the basics of wishlist. We will show you how to fetch wishlist data, create new wishlist, and update existing wishlist.

Overview

Wishlist is a list of products that customers want to buy later. Using provided methods you can implement the full wishlist functionality in your storefront integration.

Wishlists are available only for logged in users

Because only logged in users can have a wishlist, all methods in this section require a valid access token stored in the vsf-customer cookie

References

MethodDescription
addProductToWishlistMethod to add a product to wishlist
removeProductsFromWishlistMethod to remove a product to wishlist
wishlistItemsCountMethod to get items quantity in the wishlist