Hello viktor, did not work after updating
Hello viktor, did not work after updating
Hi Viktor,
After update to 4.6.1 in lib.js file in template
The new function is:
It used to be in 4.6$('.numeric').numeric({
decimal: rlConfig['price_separator']
}).number(true);
The problem is it still add separator like 0,000,000 ok. But search wont work. If I have a listing price 600 and I use 6,000 as "from" and leave "to" price blank in search box. It show the 600 listing. If I put 700 in "from" it shows none listing which is correct. So I think flynax consider a number with separator added by your method as a zero 0$('.numeric').numeric().number(true);
the problem continues
Hello Yakup,
I suggest you create a ticket with the problem.
Viktor,
Flynax technical department,
Best wishes.
Hello Yakup,
I think somebody added this dot manually, Please try to edit this listing into Admin Panel. And you will see manually added the dot.
Viktor,
Flynax technical department,
Best wishes.
Hi Viktor,
The one in admincp is called Separator symbol in prices, in basic setting > listing
This one show separator in price field.
But the one you taught us in this thread is add separator while typing in search field or listing field. Like typing 1000000. It automatically added separator so it become 1,000,000. The one in admincp only show separator after we submit listing. Not while we typing.
Hello Wei Hong,
Open file: ftp://includes>>classes>>rlSearch.class.php find method: search
and code:
and replace to:PHP Code:
Only registered members can view the code.
save and check again.PHP Code:
Only registered members can view the code.
Viktor,
Flynax technical department,
Best wishes.
Hi Viktor,
Is there anyway if we could make the method that you taught us earlier to work in 4.6.1?
Your method is here:
http://forum.flynax.com/showthread.p...ll=1#post18941
I think it is the best one so far because it works on all number fields.
In 4.6 version the code is
$('.numeric').numeric();Now in 4.6.1 it is:
$('.numeric').numeric({
decimal: rlConfig['price_separator']
}).number(true);
Hello Viktor. Can you post correct code to board when finish please. So we can benefit from such mods