KiwiRider Posted March 4, 2014 Share Posted March 4, 2014 Hi, I'm on 1.5.6.1 I have both off-line and on-line shops and I have made an account for all off-line sales to keep the stock taking easy. However as time goes by, my off-line sales account has a lot of orders and when I try to add new sales on the end of the day, it takes a while to load up because the Admin-Order page loads all carts and order history when a customer selected. Is there way to Prestashop stop load carts and order history when making a manual orders? There may be some answer in admin/themes/default/template/controllers/orders/form.tpl file, but I'm not very much Java / Ajax / PHP person. Cheers Link to comment Share on other sites More sharing options...
Numby Posted May 7, 2014 Share Posted May 7, 2014 Have you found the answer yet ? I am also looking for the solution (I tried to modify the show_old_carts function, but nothing seems to work...) Link to comment Share on other sites More sharing options...
jimmyc Posted June 21, 2014 Share Posted June 21, 2014 Me also how to remove old cart records in the bo if possible to help clean the database. If that is recommended or not also. we do not want to delete the olde orders, Just the unprocessed carts if it will help reduce the database. Cheers. Link to comment Share on other sites More sharing options...
sersbjutien Posted May 24, 2015 Share Posted May 24, 2015 Had the same problem, very slow backoffice order processI removed the following from admin/themes/default/template/controllers/orders/form.tplStarted at line 1113 in prestashop 1.6.0.14 <div id="carts"> <button type="button" id="show_old_carts" class="btn btn-default pull-right" data-toggle="collapse" data-target="#old_carts_orders"> <i class="icon-caret-down"></i> </button> <ul id="old_carts_orders_navtab" class="nav nav-tabs"> <li class="active"> <a href="#nonOrderedCarts" data-toggle="tab"> <i class="icon-shopping-cart"></i> {l s='Carts'} </a> </li> <li> <a href="#lastOrders" data-toggle="tab"> <i class="icon-credit-card"></i> {l s='Orders'} </a> </li> </ul> <div id="old_carts_orders" class="tab-content panel collapse in"> <div id="nonOrderedCarts" class="tab-pane active"> <table class="table"> <thead> <tr> <th><span class="title_box">{l s='ID'}</span></th> <th><span class="title_box">{l s='Date'}</span></th> <th><span class="title_box">{l s='Total'}</span></th> <th></th> </tr> </thead> <tbody> </tbody> </table> </div> <div id="lastOrders" class="tab-pane"> <table class="table"> <thead> <tr> <th><span class="title_box">{l s='ID'}</span></th> <th><span class="title_box">{l s='Date'}</span></th> <th><span class="title_box">{l s='Products'}</span></th> <th><span class="title_box">{l s='Total paid'}</span></th> <th><span class="title_box">{l s='Payment'}</span></th> <th><span class="title_box">{l s='Status'}</span></th> <th></th> </tr> </thead> <tbody> </tbody> </table> </div> </div> </div> It seems to much faster now.You still need to regularly remove old carts and unfinished orders from "Customer" "Shopping Carts" to speed up the website but you wont have problems with slow loading BO order. 1 Link to comment Share on other sites More sharing options...
Recommended Posts