Page 1 of 1

Currency Display

PostPosted: Wed Feb 12, 2003 2:37 pm
by Wes Rolley
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.

Re: Currency Display

PostPosted: Wed Feb 12, 2003 3:37 pm
by loren_d_c
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.