API Docs for: 2.18.0
Show:

mParticle.eCommerce.Cart Class

This class is deprecated.

Invoke these methods on the mParticle.eCommerce.Cart object. Example: mParticle.eCommerce.Cart.add(...)

Item Index

Methods

Methods

add

(
  • product
  • [logEventBoolean]
)
deprecated

Adds a product to the cart

Parameters:

  • product Object

    The product you want to add to the cart

  • [logEventBoolean] Boolean optional

    Option to log the event to mParticle's servers. If blank, no logging occurs.

clear

() deprecated

Clears the cart

remove

(
  • product
  • [logEventBoolean]
)
deprecated

Removes a product from the cart

Parameters:

  • product Object

    The product you want to add to the cart

  • [logEventBoolean] Boolean optional

    Option to log the event to mParticle's servers. If blank, no logging occurs.