Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Get rid off ( ) in currency #2 ?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-25-2008, 09:15 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default 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
Reply With Quote
  #2  
Old 02-25-2008, 09:33 AM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default 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
Reply With Quote
  #3  
Old 02-25-2008, 09:42 AM
  ADDISON's Avatar 
ADDISON ADDISON is offline
 

X-Man
  
Join Date: Jan 2008
Posts: 2,613
 

Default 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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:35 AM.

   

 
X-Cart forums © 2001-2020