| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Get rid off ( ) in currency #2 ? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Get rid off ( ) in currency #2 ?
Hi Guys,
I have two currencies. One makes me nervous. The second one is inside two round brackets. E.g. $250.00 (─ 217.50) Where shall I edit the code to get rid of those two round brackets? Thanks
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Get rid off ( ) in currency #2 ?
in skin1/customer/main/alter_currency_value.tpl
find the code below... ({if $plain_text_message eq ""}<span style="WHITE-SPACE: nowrap">{/if}{$config.General.alter_currency_symbol} {math equation="altercurrencyvalue*rate" altercurrencyvalue=$alter_currency_value rate=$config.General.alter_currency_rate format="%.2f" assign=alter_price}{$alter_price|formatprice}{if $plain_text_message eq ""}</span>{/if}) and change to (just removing the outer round brackets at beginning and end of snippet)... {if $plain_text_message eq ""}<span style="WHITE-SPACE: nowrap">{/if}{$config.General.alter_currency_symbol} {math equation="altercurrencyvalue*rate" altercurrencyvalue=$alter_currency_value rate=$config.General.alter_currency_rate format="%.2f" assign=alter_price}{$alter_price|formatprice}{if $plain_text_message eq ""}</span>{/if} using webmaster mode will help you find your whereabouts
__________________
Doms kube v4.1.9 |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Get rid off ( ) in currency #2 ?
Thanks. It worked. I needed some glasses to see those brackets
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
|
|||
X-Cart forums © 2001-2020
|