array( * 'amount' => $amount, * 'label' => $label, * 'font_size'=> $font_size * ) * ) * @return array */ public function getTotalsForDisplay() { $store = $this->getOrder()->getStore(); $config= Mage::getSingleton('tax/config'); if ($config->displaySalesTaxWithGrandTotal($store)) { return array(); } $fontSize = $this->getFontSize() ? $this->getFontSize() : 7; $totals = array(); if ($config->displaySalesFullSummary($store)) { $totals = $this->getFullTaxInfo(); } $totals = array_merge($totals, parent::getTotalsForDisplay()); return $totals; } }