购物车网址

$this->helper('checkout/url')->getCartUrl();

要么

Mage::helper('checkout/url')->getCartUrl();