这是我的代码:
public function TOTALCODE ()
{
if ($parentBlock = $this->getParentBlock())
{
$amount = __(number_format(Mage::getSingleton(’checkout/session’)->getQuote()->getGrandTotal(), 2, ‘,’, ‘.’));
$text = __(’€ %s (incl. 21% btw)’, $amount);
$parentBlock->addLink($text, ‘checkout/cart’, $text, true, array(), 50,null,’class="top-link-cart"’);
}
如何在不包括运费的情况下显示总计?