You are here:  » Price import error CJ.com

Support Forum



Price import error CJ.com

Submitted by wilkins on Wed, 2012-10-03 14:50 in

Hi David

Getting wrong price when over £1000, something that is £1,530 is showing £1.53 after import. What's strange, feeds from webgains have worked, it just with CJ.

Any ideas?

Brent

Submitted by support on Wed, 2012-10-03 15:18

Hi Brent,

That's a side effect of the way the decimalise function is set-up to handle some countries that use comma in place of the decimal point. If comma decimalisation support is not required edit includes/tapestry.php and look for the following code at line 36:

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

...and REPLACE with;

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

Don't forget to re-import as the function is only applied at import time...

Cheers,
David.
--
PriceTapestry.com