[英]Magento remove customer review block from product view page
I am creating custom module for customer review so I need to delete the Magento customer review functionality from product view page. 我正在创建用于客户审核的自定义模块,因此需要从产品查看页面删除Magento客户审核功能。 There is any XML code which don't show the Magento customer review on product view page. 任何XML代码都不会在产品视图页面上显示Magento客户评论。
try this code i have already used... 试试这个我已经使用过的代码...
<catalog_product_view ranslate="label">
<remove name="product.reviews"/>
</catalog_product_view>
Go to your theme folder> template> catalog> product> open view.phtml then just find the code in this page: <?php echo $this->getReviewsSummaryHtml($_product, 'default', false)?>
Now remove the code and check. 转到您的主题文件夹>模板>目录>产品>打开view.phtml,然后在此页面中找到代码: <?php echo $this->getReviewsSummaryHtml($_product, 'default', false)?>
现在删除代码并检查。 I think it solve your issue. 我认为这可以解决您的问题。
You do not need any xml code to remove customer review block from product view page. 您不需要任何xml代码即可从产品视图页面中删除客户评论块。 Go to System > Configuration > Advanced then look for Mage_Review and disable it. 转到系统>配置>高级,然后查找Mage_Review并将其禁用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.