Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Method Signature String[] removeItem(String itemId);
Description
Removes the specified item ids from the cart.
Parameters String itemId - An item Id to remove from the cart.
Result String[] - All the errors that occurred while trying to remove the item to the cart. If this array is empty then the removal was successful. If this array contains any values then you'll want to display the errors to the customer. Even if the errors array contained something the global cart variable is automatically updated.

  • No labels