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.
Argument to be passed
context | type | Description |
---|---|---|
favourites | object | favourite 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>