Currency Display

This is an archive of old posting to the User Forum

Currency Display

Postby Wes Rolley » Wed Feb 12, 2003 2:37 pm

Using Custom Product Template field Product.Price, is there a way to
have it display in $ only. High ticket items normally do not need the
".00" on every price in the store.

I may have missed it, but I could not easily find an answer in the HELP
funciton or knowledge base.
Wes Rolley
 

Re: Currency Display

Postby loren_d_c » Wed Feb 12, 2003 3:37 pm

No, not naturally in the template. The price is always returned with the
decimals. You could write a simple perl script that would accept the price
with the decimals then return it without the decimals, you could use that
with a CALL tag in your template. Note, however, that the decimals will
still appear on the shopping cart screen.

-Loren



Wes Rolley wrote:

Using Custom Product Template field Product.Price, is there a way to
have it display in $ only. High ticket items normally do not need the
".00" on every price in the store.

I may have missed it, but I could not easily find an answer in the HELP
funciton or knowledge base.
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 49 guests