1
我尝试在文件view.phtml中输出分组产品的最低价格。 应在顶部附近插入最低价格。现在我们使用额外的 属性来显示它。但这只是一个解决方法。Magento在view.phtml中分组产品的价格(最低)
我尝试了不同的代码,但没有一个是工作:
<?php echo $this->getPriceHtml($_product, true) ?>
或
<?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_item, $_item->getFinalPrice(), true) ?>
,但似乎没有任何工作。
也许你有一些想法如何显示价格,提前谢谢!
基督教
嗨,谢谢你的回复!但是当我通过view.phtml中的代码时,我在第一行'公共函数prepareGroupedProductPrice($ groupedProduct)''有错误' – Christian