- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
$value = $grandTotal - $tax;
$total_name = $this->__('Grandtotal_excl_tax')." (".$this->__('excl. tax').")";
$row = '<div class="columns xsmall-6 small-6">';
$row .= $total_name;
$row .= '</div><div class="columns xsmall-6 small-6 align-right">'.$this->helper('checkout')->formatPrice($value).'</div>';
$totals["grand_total_excl_tax"] = $row;
//$orderedTotals = Mage::getStoreConfig('onestepcheckout/general/summary_totals');
$orderedTotals = "subtotal,aw_giftcard_duty,aw_giftcard_duty_discount,shipping,cashondelivery,shipping_discount,discount,aw_giftcard,grand_total_excl_tax,tax,grand_total";
$orderedTotals = explode(',', $orderedTotals);
foreach($orderedTotals as $total) {
$total = trim($total);
if (isset($totals[$total])) {
echo $totals[$total];
}
}
?>
</div>