You are here:  » Price input over $999.99

Support Forum



Price input over $999.99

Submitted by someguy on Mon, 2009-12-14 02:52 in

Any price over $999.99 is truncated into nnn.nn format. How can I change this to allow up to nnnnn.nn ? Thanks.

Submitted by support on Mon, 2009-12-14 09:05

Hi there,

This sounds like the situation where "," is replaced with "." to handle currencies which use "," as the decimal place. To fix this, look for the following code on line 36 of includes/tapestry.php:

$price = str_replace(",",".",$price);

...and REPLACE with:

$price = str_replace(",","",$price);

...and then after the next import prices should be imported correctly.

Cheers,
David.