脚本宝典收集整理的这篇文章主要介绍了php – 在Magento结帐的“结算信息”部分添加礼品消息,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
目前此选项显示在magento checkout的送货方式部分中.
我怎样才能做到这一点?我使用的是magento 1.9.0.1.
请帮忙..
<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>
以上是脚本宝典为你收集整理的php – 在Magento结帐的“结算信息”部分添加礼品消息全部内容,希望文章能够帮你解决php – 在Magento结帐的“结算信息”部分添加礼品消息所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。