Cart Landing
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.
On the Cart landing page, we can see products added to the cart.
Website URL: https://www.gofynd.com/cart/bag
There are various other options we can see on the page:
- Offers & coupons - Any offers or coupons we can see here
- Rewards points - Any rewards points
- Comment - Can add any comment for this order
- GST Details - can claim gst
You can change these options from the page setting on platform.
Context | type | Description |
---|---|---|
is_logged_in | Boolean | User is logged in or not |
favourite_ids | Array | Ids of products that are added in the wishlist |
bag_data | Object | Contains data related to items in the cart |
app_features | Object | Application specific configurations |
employee_list | Array | List of employee for staff selection |
selected_employee | Object | Current selected employee |
Example
theme/templates/pages/cart-landing.vue
<div className="card-landing" v-if="context && context.bag_data">
<div v-for="bags in context.bag_data.item">
{{bags.article}}
</div>
</div>