为什么分类和产品页面,产品价格以格式 xx.00方式显示(价格和特价),首页单单跳过?
Yii::$service->helper->format->number_format($price['value'])
@Terry #1楼 恩,搞定了。主要是文件路径不熟悉。 现在找到了 在 \vendor\fancyecommerce\fecshop\app\appfront\theme\base\front\cms\home\index\price.php
把 $price['value'] 改成 Yii::$service->helper->format->number_format($price['value'])
就OK了。
提交了:https://github.com/fecshop/yii2_fecshop/commits/master