Hello Wei Hong,
Did you try to implement this instruction in your 4.6.1?
Viktor,
Flynax technical department,
Best wishes.
Yes Viktor,
I did it in 4.6 and it worked perfectly. In 4.6.1, I repeat it
First of all I did this again
Then in the following step:Try to do it yourself.
Open file: ftp://templates>>your_template>>js>>lib.js
at line ~116
find code: var media_query = 'desktop';
above add new code: https://raw.githubusercontent.com/cu....number.min.js (copy all code from this url and past to lib.js)
I could not findThen find code:
Code:
$('.numeric').numeric();
and replace to:
Code:
$('.numeric').numeric().number(true);
save and check again.
But I found$('.numeric').numeric();
I think in 4.6.1 they changed to this. So I replace all above with$('.numeric').numeric({
decimal: rlConfig['price_separator']
});
And the separator shows OK on all number field in listing adding page, search page, etc. But the problem is in search box Price "from" and "to" it does not work properly. I have 3 listings with price as follow:$('.numeric').numeric().number(true);
Listing 1: $1,000
Listing 2: $2,000
Listing 3: $3,000
If I put $2,000 in the box "from" of listing field price in search box. It shows all 3 listings. I think it takes the number 2,000 as 0, so it show all listings because it think I want to find price starting from $0, not $2,000. Before in 4.6 after your method, input 2,000 and it only show listing 2: $2,000 and listing 3: $3,000.
So I remove the code and everything back that doesn't have separator, I input 2000 in listing field price. It now shows correctly only 2 listings start from price $2000.
I think I must change something with this code, but I don't know how
$('.numeric').numeric({
decimal: rlConfig['price_separator']
});
Hello,
I suggest that you create a ticket to look into search problem