/ Published in: PHP
To display it in a cms page,
{{block type="checkout/cart" block_id="my_block" template="path_to_.phtml"}}
{{block type="checkout/cart" block_id="my_block" template="path_to_.phtml"}}
URL: http://shamimcse05.wordpress.com/2010/12/23/how-to-get-total-cart-item-and-total-price-in-magento/