更新时间:2023-11-30 10:13:52
在你的价格上面提到的code从 $来临_本期特价货品> getCalculationPrice()
。
In the code you have mentioned above the price is coming from $_item->getCalculationPrice()
.
在code
< PHP的echo $这个 - >帮手('结账') - > formatPrice($ _本期特价货品> getCalculationPrice())>
只是根据你的店和其他的东西需要价格和格式它即增加了货币符号。
just takes the price and formats it i.e adds the currency symbol according to your store and other things.
在哪里 formatPrice 函数所在的导航到
If you want to know where is the formatPrice function resides navigate to
应用程序/ code /核心/法师/结帐/助手/ Data.php
app/code/core/Mage/checkout/Helper/Data.php
在这里你会看到该函数的认定中。
Here you will see the defination of that function.
希望这会有所帮助。