(Solved)Why is it that it is taking too long to be put in the basket?

Hi, Why is it that it is taking too long to be put in the basket?which code i will edit so that it will become faster?

It will create a long line if a lot of customers will come especially during rush hour.

Please check the video. http://imgur.com/gallery/5u4zfI3

this might help me?

PRODUCT_DONOTSEARCH_ANYWHERE ► When Ajax search is enabled, search is done on criteria anywhere in label of product. By adding this option, search is done only on start of label. This is really faster when you have a huge number of products.

I made 2 steps to increase the performance particularly the speed of response of dolibarr considering that I’m using client dolibarr connecting from my server.

  1. (takepos) In the other setup, just add PRODUCT_DONOTSEARCH_ANYWHERE; value=1.
    2.(in general dolibarr) Don’t enable xDebug, otherwise if it is enable; disable it using the below command in linux

And with PHP 7

sudo phpdismod xdebug

And after that, please restart the server:

sudo service apache2 restart

if you can add or suggest anything you know to increase the performance, please share it so that i can implement.