Cart
Cart Actions in this SDK allow you to manage and interact with the app’s shopping cart directly from your custom web components. Using these actions, you can add or remove products, update quantities and trigger the checkout flow — all while staying fully synced with the app’s native state.
The cart actions available are as follows
| Action | Purpose | Document Link |
|---|---|---|
| Add to Cart | Adds a product to the cart with the specified quantity | Add to Cart |
| Remove from Cart | Removed the product from cart | Remove from Cart |
| Update Line Item Quantity | Update the quantity of specific item added to the cart | Update Line Item Quantity |
| Apply Discount | Apply Discount on cart page of the app | Apply Discount |
| Enable Checkout Button | To enable the checkout button on the cart page | Enable Checkout Button |
| Disable Checkout Button | To disable the checkout button on the cart page | Disable Checkout Button |
Updated about 1 month ago