How to clear baskets in PrestaShop's BackOffice

PrestaShop lets customers keep her basket between his visitor sessions to finalize the order later.
This feature is handy, but uses up space in the database of your store.

To remedy this, the simplest solution would be to have the opportunity to erase the baskets directly into the backoffice of your store, but this is not proposed basic PrestaShop.

Enabling this feature is, however, the scope of everyone.

Simply open the file /your-admin/tabs/AdminCarts.php and modify line 25 by replacing $this->delete=false; by $this->delete=true; and then you can simply remove the baskets individually by clicking on the red line at the end of each basket, or by selecting them and deleting them en masse to go faster.

WarningWarning:
It should in no way erase the racks corresponding to commands as this will cause errors on certain functions like editing of pdf invoices.


HomeHome

Prestashop agreement

Cart  

(empty)
Instructions:

  1. Decompress the contents of the archive into a new folder on your hard drive
  2. Copy the archive contents into the administration folder of your website in order to obtain a path such
    www.yourWebsite.com/adminXXX/SC/index.php
  3. Modify access rights to grant authorization to modify the Store Commander folder and its contents (you can take the rights of the /uploads folder to know what are the good ones)
  4. Log onto your Prestashop back office and go to this link www.yourWebsite.com/adminXXX/SC/index.php in order to create your trial license and start Store Commander
  5. Once Store Commander is launched, go to the menu "Tools > Installation" and then click on "Create a link in the Prestashop quick access menu"



Click here to close this window

Specials

All specials

PayPal