Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Method Signature Cart getCartInstance();
Description
This method retrieves the cart associated with this customer. It handles all the cookie setup, new cart creation, existing cart retrieval, etc. If it is called more than once on a page then it will return the global cart variable that has already been initialized.
Parameters None
Result Cart - the customer's shopping cart.