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[] clearItems(); Description
Removes all the items from the cart. The global cart variable is automatically submitted to the server.
Parameters None
Result String[] -All the errors that occurred while trying to remove all the items from the cart. This should rarely ever contain anything, but it still should be checked and handled properly by the client. Even if the errors array contained something the global cart variable is updated.

  • No labels