adding USD after the price

General ShopSite user discussion

adding USD after the price

Postby shoclabs » Tue Dec 01, 2009 12:45 pm

I'm looking for a way to modify the way US Dollars are displayed in the products page, the more info page and the cart. For example, instead of displaying $#,###.##, I'd like prices to be displayed as $#,###.## USD. is this possible? :?
shoclabs
 
Posts: 6
Joined: Fri Oct 02, 2009 11:53 am
Location: Mexico

Postby Jim » Tue Dec 01, 2009 1:18 pm

I don't believe it is possible to do that.

In the <storeid>.aa (where <storeid> is your login name) file int the ss cgi directory for your store you will find a token like this
currency: USD|$|-$#,###.##||
Which defines the currency display settings for the store
The second $ is replaced by what ever is in between the two vertical bars in front of it. So you could change the value to output
USD$ 9.99
by replacing the first $ with USD$ like this
currency: USD|USD$|-$#,###.##||
or you could put it after the amount
like this 9.99 USD$
by formatting ithe currency value like this
currency: USD|USD$|-#,###.## $||

If you decide to try this make sure you backup the file first in case something goes wrong.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 146 guests