Search the Community
Showing results for tags 'NTree'.
I am creating 10s of thousands of categories using existing classes of Prestashop. However, I noticed that each category add function takes close to 15s as it Regenerates the Entire NTree. I am not sure what is the advantage of the NTree and I am trying to understand if I can disable it for my shop. Can someone please help me understand what are things I need to be aware of before doing this.
Hi there Has anyone had any success in managing this from SQL ? We have an external ERP system which handles all categorization which is then updated in the Prestashop database. This is done using Inserts and updates. However, this does not take care of the calculation of depth and nleft and nright, and eventhough I know a little PHP, I can't seem to get my head around the function that generates the ntree and how it works. So have anyone tried to achieve this using SQL ? Regards, Svend