Guest Secret-Services Posted May 14, 2007 Share Posted May 14, 2007 Hi Buddy's How to reset number of orders in Admin Home ??? I do not have orders in the section of orders!!! Regards Thank You Quote Link to comment Share on other sites More sharing options...
convict Posted May 14, 2007 Share Posted May 14, 2007 Hi Buddy's How to reset number of orders in Admin Home ??? I do not have orders in the section of orders!!! Regards Thank You It seems you have deleted some customer account(s) orders were created using it. You have to delete orders using SQL manager OR simple SLQ query using TRUNCATE table query. Quote Link to comment Share on other sites More sharing options...
Guest Secret-Services Posted May 15, 2007 Share Posted May 15, 2007 yea, sure. But not exist some file that it to change the number it? Regards Quote Link to comment Share on other sites More sharing options...
Guest Secret-Services Posted May 17, 2007 Share Posted May 17, 2007 help me please. Quote Link to comment Share on other sites More sharing options...
convict Posted May 18, 2007 Share Posted May 18, 2007 Copy&paste code below to a new file with a name delete_orders.php. Upload it to your store root folder and 'RUN' it - just go to your store index page in your fovorite browser and paste the file name delete_orders.php to browser bar and hit ENTER. URL could look like: http://www.your.store.tld/delete_orders.php <?php include_once("includes/global.inc.php"); include_once("classes/db.inc.php"); $db = new db(); $db->misc("TRUNCATE TABLE `".$glob['dbprefix']."CubeCart_order_inv`"); $db->misc("TRUNCATE TABLE `".$glob['dbprefix']."CubeCart_order_sum`"); ?> Done! Once run delete the file from your server imediately! Quote Link to comment Share on other sites More sharing options...
Guest Secret-Services Posted May 20, 2007 Share Posted May 20, 2007 Thank You Buddy! Regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.