getCartInstance

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.