Commit 7bf21223 authored by John Punzalan's avatar John Punzalan

Update cart translation

parent 300036dd
......@@ -164,7 +164,7 @@ $totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals(); //Tot
$key_name_i = 0;
foreach ($totals as $total) {
echo '<div><span class="label-price">';
echo str_replace('_', ' ', $key_name[$key_name_i]);
echo $this->__(str_replace('_', ' ', $key_name[$key_name_i]));
echo '</span>';
echo '<span class="js-' . $key_name[$key_name_i] . '">';
echo Mage::helper('checkout')->formatPrice($total->getValue(), true, true);
......
......@@ -35,12 +35,13 @@
<?php echo Mage::getStoreConfig('general/store_information/phone'); ?>
</a>
</li>
<li><a href="#">Contact</a></li>
<li>
<?php
if (!Mage::getSingleton('customer/session')->isLoggedIn()) {
echo '<a href="' . "#" . '" class="js-authenticate">' . $this->__('Login') . '</a>';
echo '<a href="' . "#" . '" class="js-authenticate">' . $this->__('Log in') . '</a>';
} else {
echo '<a href="' . Mage::helper('customer')->getLogoutUrl() . '">' . $this->__('Logout') . '</a>';
echo '<a href="' . Mage::helper('customer')->getLogoutUrl() . '">' . $this->__('Log out') . '</a>';
}
?>
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment