博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
magento 在block部分
阅读量:4203 次
发布时间:2019-05-26

本文共 529 字,大约阅读时间需要 1 分钟。

layout/checkout.xml

 

purchaseorder

 

在 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/

你可能感兴趣的文章
清除文件中的.svn文件
查看>>
手动11 -nginx 优化配置
查看>>
php加速器 - zendopcache
查看>>
手动12 - 安装php加速器 Zend OPcache
查看>>
set theme -yii2
查看>>
yii2 - 模块(modules)的view 映射到theme里面
查看>>
yii2 - controller
查看>>
yii2 - 增加actions
查看>>
网站加载代码
查看>>
php图像处理函数大全(缩放、剪裁、缩放、翻转、旋转、透明、锐化的实例总结)
查看>>
magento url中 uenc 一坨编码 base64
查看>>
强大的jQuery焦点图无缝滚动走马灯特效插件cxScroll
查看>>
Yii2.0 数据库查询
查看>>
yii2 db 操作
查看>>
mongodb group 有条件的过滤组合个数。
查看>>
yii2 用命令行操作web下的controller
查看>>
yii2 console的使用
查看>>
关于mongodb的 数组分组 array group
查看>>
MongoDB新的数据统计框架介绍
查看>>
mongodb fulltextsearch 关于语言的设置选项
查看>>