4
我想在中顯示Gift message option
帳單信息部分Magento checkout
。在Magento結帳中的帳單信息部分添加禮物消息
目前,這個選項是表示送貨方式節magento checkout.
我怎樣才能做到這一點?我使用magento 1.9.0.1.
請幫助..
我想在中顯示Gift message option
帳單信息部分Magento checkout
。在Magento結帳中的帳單信息部分添加禮物消息
目前,這個選項是表示送貨方式節magento checkout.
我怎樣才能做到這一點?我使用magento 1.9.0.1.
請幫助..
轉到您當前的主題包,打開當前正在拍攝的文件checkout-> onepage-> shipping_method-> additional.phtml刪除以下行。
<div id="onepage-checkout-shipping-method-additional-load">
<?php echo $this->getChildHtml('additional') ?>
</div>
然後轉到checkout-> onepage-> billing.phtml無論你想顯示在賬單節禮物消息添加下面的線。
<div id="onepage-checkout-shipping-method-additional-load">
<?php echo $this->getLayout()->createBlock('checkout/onepage_shipping_method_additional')->setTemplate('checkout/onepage/shipping_method/additional.phtml')->toHtml(); ?>
</div>
更新計費模板文件還 –
@帕萬·庫馬爾相同的代碼,計費信息位於前端\ MyTemplate的\ MyTemplate的\模板\執着/結賬/ onepage/billing.phtml頁和禮品選項在前端\ base \ default \ template \ giftmessage/inline.phtml頁面中。不過,我複製inline.phtml中的所有代碼並粘貼到billing.phtml中,但由於安全原因,該頁面顯示錯誤 - 無法顯示。 – next2u
你可以粘貼你的代碼,如何顯示它在運輸方法部分 –