在magento如后产品后(采用导入插件,表格导入),完成后,后台可以看到自定义属性,但是前台看不到
修改方法
在文件:pp/design/frontend/maishen/tidebuy/template/terry/view.phtml中
找到代码段:
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
<?php endif;?>
修改为:
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
<?php // echo $this->getChildChildHtml('container2', '', true, true) ?>
<?php echo $this->getChildHtml("product_options_wrapper"); ?>
<?php echo $this->getChildHtml("product_options_wrapper_bottom"); ?>
<?php endif;?>
保存,上传,OK!
前台就可以看到产品的自定义属性了!