If you need anything else feel free to reach out to our team

Close the cart drawer.
closeCart()

Open the cart drawer.
openCart()

Toggle the cart drawer.
toggleCart()

Add a new cart item or updating existing.
monster_addCartitem(items)

Parameters:
NameTypeDescription
ItemsCartitemThe cart item.


Remove a cart item
monster_removeCartitem(id)

Parameters:
NameTypeDescription
idnumberThe cart item id.


Reset the cart items.
monster_setCartitems(items)

Parameters:
NameTypeDescription
itemsArray.<Cartltem>The cart items array.
Was this article helpful?
Cancel
Thank you!