2017-08-06 56 views
0

我试图增加产品的SKU产品页面中加入以下代码:Magento的 - 为什么我的模板文件的更改不会显示出来

<h3><?php echo $this->__('SKU:') . $this->htmlEscape($_product->getData('sku'));?></h3> 

我已经清除Magento的缓存,删除缓存存储。不幸的是,模板文件的变化没有显示出来......任何建议?

PHTML文件需要被编辑 enter image description here

PHTML文件编辑 enter image description here

回答

0

Magento的获取数据,直接的工作就像getSku();试试echo $ _product-> getSku();

相关问题