These macros are used for interfacing with the WebGUI Shopping Cart introduced in WebGUI 7.5.
^ViewCart();
Displays a link to the cart. Has an optional parameter, which may be specified the text you'd like to appear to be linked, which defaults to "View Cart". Or you may specify "linkonly", which will return just the URL to the cart.
^CartItemCount;
Displays the number of items in the cart currently.
^MiniCart();
Displays a miniature version of the shopping cart which can easily be put into a column on all pages in your shop. It has an optional parameter of templateId, which will allow you to override the default template used by the MiniCart.