Page 1 of 1

Over £1000.00 Conversion Issue

Posted: Wed Dec 10, 2008 6:26 pm
by leej
Hi Norman,
I have an old client who has just called to say that their convertor is incorrect on one of their products which is priced at £1220.00 which shows a Euro value at (252.55 EUR).

I have tested the site on a staging server and when I make a product £1000.00 the currency is (0.00EUR). Please check the following link below (first two products).

http://actinic.fmedia.co.uk/acatalog/Language2.html

Any fixes or work arounds would be appreciated.

Regards.
Lee.

Re: Over £1000.00 Conversion Issue

Posted: Thu Dec 11, 2008 12:25 am
by norman
Hi, Lee

This looks like something that's crept in via a V8 update. Try this:

Edit norpricesupport.js (in your Site folder - back it up first).

Look for the line (about line 65):

Code: Select all

 price = price.replace(/,/g,"");     	// remove all commas
Replace it with (best copy / paste from below - don't type it in):

Code: Select all

 price = price.replace(/,|,/g,"");     	// remove all commas
Save and Update.

Report if that fixes things and I'll update NorPrice.

Re: Over £1000.00 Conversion Issue

Posted: Thu Dec 11, 2008 11:55 am
by leej
Hi Norman,
Yep that little bit a code worked a treat. Thanks fo the help.

Regards.
Lee.

Re: Over £1000.00 Conversion Issue

Posted: Thu Dec 11, 2008 1:14 pm
by norman
Super. I'll add it in to a new version.