Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Obtain Cart Total on Cart Page
 
redpen
Sr. Member
 
Total Posts:  254
Joined:  2008-01-23
 

I’m being really thick, I know, but can anyone tell me how to get the total value in the shopping cart on template/checkout/cart.phtml ?

I know I can use something like $cartcount = Mage::helper(’checkout/cart’)->getCart()->getItemsCount(); to get the total number of items in the cart, that’s fine, but how would I get the total value?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top