您好我想顯示我的訂單,我的付款選項只有當用戶登錄手機menu.Right現在megamenu顯示兩次可以任何一個修復它。提前感謝。我的帳戶,我的訂單隻顯示在用戶登錄手機菜單
<li>
<?php if(Mage::getSingleton('customer/session')->isLoggedIn()){
?>
<a style="text-transform: none; border-bottom: 0px !important; background:#212121 !important;color:#fff;margin-top:-10px;margin-left: -18px;"
href="<?php echo Mage::getBaseUrl().'customer/account/logout'; ?>">Logout</a>
<?php echo $menuHtml; ?>
<a class="extras" title="My Orders" href="<?php echo Mage::getBaseUrl().'sales/order/history'; ?>"><?php echo $this->__('My Orders') ?></a>
<a class="extras" title="My Payments" href="<?php echo Mage::getBaseUrl().'md_partialpayment/summary/list/'; ?>"><?php echo $this->__('My Payments') ?></a>
<?php
}else{
?>
<a style="text-transform: none; border-bottom: 0px !important; background:#212121 !important;color:#fff;margin-top:-15px;margin-left: -18px;font-weight:300;"
href="<?php echo Mage::helper('customer')->getLoginUrl(); ?>">Login </a>
<?php echo $menuHtml; ?>
<?php
}
?>
</li>
誰能幫助我提前 – user6006309
這多虧請你是什麼意思的大型菜單顯示兩次? –
@sagar singh雖然檢查移動菜單實際上顯示兩次我的要求是如果用戶登錄它應該顯示我的訂單和我的付款否則它應該只顯示菜單但在這裏菜單顯示兩次。 – user6006309