Hi there, still have problems with integrating mod CustomUnits to my Pavillion theme. And this becomes as HUGE problem. Our shop can`t work properly without this mod…
Developer of Custom Units aswered me:
“The problem is due to your custom theme filtering the price output format. Because Custom Unit adds the unit after the price. Please do the following code modification to fix the issue on product page:
1. open & edit /catalog/view/theme/BurnEngine/template/product/product.tpl
2. look for the following code on line 317:
<?php $price = $tbData->priceFormat($price); ?>
3. modify it by commenting out as such:
<?php //$price = $tbData->priceFormat($price); ?>
4. look for the following code on line 321:
<?php $special = $tbData->priceFormat($special); ?>
5. modify it by commenting out as such:
<?php //$special = $tbData->priceFormat($special); ?>
As for category pages, I can’t find the relevant code to remove product price filtering. Maybe you can consult the developers of your custom theme for further support on the matter.
Thanks!”
Need to provide this CustomUnits on whole site, not only product page >_<
Guys need help asap, loosing money and patience…
|
|
Open system/vendor/BurnEngine/library/PriceFormatter.php , go to line 37 and insert return $price; statement, so it becomes: public function format($price)
{
return $price;
switch ($this->format_method) {
case 'mb':
.....
Try this workaround to see if it helps.
|
|
Glad we’ve helped.
BR,
ThemeBurn team
|
|