Skip to main content

Wishlist

Deprecation Notice

Vue-based themes will soon be deprecated. Please switch to React-based themes, as all future updates and support will focus exclusively on React.

The wishlist page will render a wishlist page.

QG11


Argument to be passed​

contexttypeDescription
favouritesobjectfavourite object consist of details like data

context.favourite​

This will be the object that Returns the favourite item in wishlist page.

Example​

theme/templates/pages/wishlist.vue
<div className="product-container">
<div
v-for="(product, index) in context.favourites.data" :key="index + '-product.uid'" >
{{product}}
</div>
</div>

Was this section helpful?