标签:block
-
将变量传递给Magento中的模板.phtml块 - magento
这段代码写在market.phtml中 <?php echo $this->getLayout()->createBlock('core/template')->setData('vendorId',$vendor->getCustomerId())->setTemplate( […]
这段代码写在market.phtml中 <?php echo $this->getLayout()->createBlock('core/template')->setData('vendorId',$vendor->getCustomerId())->setTemplate( […]