Jump to content

ps_layered_price_index too big. Impossible to activate module faceted search


ietax
 Share

Recommended Posts

Hi, i have an big issue
ps_layered_price_index for my shop is huge and I can't activate the module.


I have 7 languages and it generates a price reange for each product combined with each country and each language.
so for each product It generate 1715 rows in the table.
And I have 20000 products !!!

 

thanks

Share this post


Link to post
Share on other sites

16 hours ago, ietax said:

Hi, i have an big issue
ps_layered_price_index for my shop is huge and I can't activate the module.


I have 7 languages and it generates a price reange for each product combined with each country and each language.
so for each product It generate 1715 rows in the table.
And I have 20000 products !!!

 

thanks

Prestashop / PHP version? What error did it gives you?

Share this post


Link to post
Share on other sites

Hi, thanks for your interest ...

 

PS 1.7.7.3

PHP 7.2.34

 

I have no errors. It generates a huge table because for each product / country / currency it creates a combination and then a row in the table...

that becomes huge table.ScreenShot05234.thumb.jpg.e4c30c6d0c54d845b8ea727e6048719b.jpg

Share this post


Link to post
Share on other sites

The id_country field was added in Prestashop 1.7.6.

It takes the countries that are in the ps_tax_rule table - usually that are not all countries. So I wonder why that concerns all countries for you. Are you using some special module that has that effect.

BTW: what is the version of your ps_facetedsearch module?

Share this post


Link to post
Share on other sites

There is very little I can do if you answer only a part of my questions. 

One thing you could try is uninstalling the ps_facetedsearch module and replace it by an old version (2.x) that you can find on the Prestashop Github.

Share this post


Link to post
Share on other sites

thank you for your interest, i don't think i use a special form involving all countries.
I will search for the previous version of the module, until I find a definitive solution.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More