mParticle.eCommerce.Cart Class
This class is deprecated.
Invoke these methods on the mParticle.eCommerce.Cart object. Example: mParticle.eCommerce.Cart.add(...)
Methods
add
(
deprecated
-
product
-
[logEventBoolean]
Adds a product to the cart
Parameters:
-
product
ObjectThe product you want to add to the cart
-
[logEventBoolean]
Boolean optionalOption to log the event to mParticle's servers. If blank, no logging occurs.
clear
()
deprecated
Clears the cart
remove
(
deprecated
-
product
-
[logEventBoolean]
Removes a product from the cart
Parameters:
-
product
ObjectThe product you want to add to the cart
-
[logEventBoolean]
Boolean optionalOption to log the event to mParticle's servers. If blank, no logging occurs.