Jump to content

Price filter limits (Facet Navigation) - Limity cenového filtru


SMSprofi

Recommended Posts

Hello, The price filter (Facet Navigation) has a price limit (maximum: 1000000). If the price of the goods exceeds 1 million, the filter does not work. Does anyone know how to change this restriction? Thank you for your advice. Line

Dobrý den, cenový filtr (Facet Navigation) má cenový limit (maximum: 1000000). Pokud cena zboží přesáhne 1 milion, filtr nefunguje. Ví někdo, jak toto omezení změnit? Děkuji ti za rady.

Radek

Snímek obrazovky 2020-04-12 v 23.00.11.png

Link to comment
Share on other sites

Hello, Unfortunately, changing mt_rand: 100000 has no effect on filter functionality. I also tried to clear the cache and reindex the prices when I changed the value of mt_rand: 100000. No effect. 😞
Have you tested that this is a functional solution - changing the value "mt_rand: 100000"?

Dobrý den, bohužel změna hodnoty mt_rand:100000 neměla vliv na funkci filtru. Zkusil jsem i smazat cache a reindexaci cen, když jsem změnil hodnotu mt_rand:100000. Bez efektu. 😞
Máš to otestované, že tohle je funkční řešení - změna hodnoty "mt_rand:100000"?

Link to comment
Share on other sites

Hello. I followed the procedure. Unfortunately, the price slider filter still shows the range up to 1 000 000. I'm sending prinscreen screen database. Should I change something here?

Thank you for your advice and help.

Dobrý den. Postup jsem dodržel. Bohužel filtr - Posuvník s cenou stále ukazuje rozsah do 1 000 000 Kč. Zasílám prinscreen obrazovky databáze. Mám i zde něco změnit?

Děkuji za radu a pomoc.

 

 

Snímek obrazovky 2020-04-21 v 17.54.01.png

Link to comment
Share on other sites

SQL:

DELETE FROM `ps_layered_price_index`;
ALTER TABLE `ps_layered_price_index` CHANGE `price_min` `price_min` DECIMAL(15,5) NOT NULL, CHANGE `price_max` `price_max` DECIMAL(15,5) NOT NULL;

 

after update database:

step 3. or step 7.

step 5. or step 9.

 

Done.

Edited by Guest (see edit history)
Link to comment
Share on other sites

You haven't modified everything according to the images instructions.
You have price_min and price_max decimal (11,5).
Which means a number of 11 characters minus 5 decimal places equal to 6 characters before the decimal point.

Therefore, I gave the picture decimal(15,5) !!!!

eg.:

15 - 5 = 10

result: 1 234 567 890.12345

==========================

or 13 - 5 = 8

result: 12 345 678.12345

==========================

or 12 - 5 = 7

result: 1 234 567.12345

==========================

Repair is maximum for two minutes of work.

Edited by Guest (see edit history)
Link to comment
Share on other sites

Rád jsem pomohl.
Můžeš dát like kliknutím na šedé srdce pod příspěvkem nebo více příspěvky.

 

I gladly helped.
You can give a like by clicking on the gray heart below the posts.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...