![]() |
I want б╔500 not б╔500.00
All of my prices are in Yen so I need to get rid of .00 after the price. For example I want б╔500 not б╔500.00. It's probably pretty easy, thanks in advance.
|
I could be wrong but take a look at smartyx.xx/plugin/modifier.formatprice.php
|
correct! - in modifier.formatprice.php change
Quote:
to Quote:
|
Thanks
Worked perfectly, thanks!
|
Re: I want б╔500 not б╔500.00
Hi, any idea how to do this now in the latest 4.5.4 version?
The referred php file now just contains: if (!defined('XCART_START')) { header("Location: ../../../"); die("Access denied"); } function smarty_modifier_formatprice($price, $thousand_delim = NULL, $decimal_delim = NULL, $precision = NULL) { return func_format_number($price, $thousand_delim, $decimal_delim, $precision); } ?> I really guess it is as simple as earlier, but it is a bit hard to check 5000 files from row to row. |
All times are GMT -8. The time now is 05:58 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.