Jump to content

ps_layered_price_index too big. Impossible to activate module faceted search


ietax

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

Link to comment
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?

Link to comment
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

Link to comment
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?

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...