本文共 529 字,大约阅读时间需要 1 分钟。
layout/checkout.xml
purchaseorder payment/form/purchaseorder.phtml
在 block端,输出该部分的html,可以使用下面的代码输出
protected function _getPaymentMethodsHtml() { $layout = $this->getLayout(); $update = $layout->getUpdate(); $update->load('checkout_onepage_paymentmethod'); $layout->generateXml(); $layout->generateBlocks(); $output = $layout->getOutput(); return $output; }
转载地址:http://dpcli.baihongyu.com/