raxsix Posted May 20, 2011 Share Posted May 20, 2011 HiI want to delete the stock movement, how can i add a delete button there ? Link to comment Share on other sites More sharing options...
LinnB Posted June 19, 2011 Share Posted June 19, 2011 Hi I am no expert, but here is a trick I learned when searching for a way to delete test orders, I hope it works with stock movements as well.Go to your admin>tabs folder, then find and edit the file AdminStockMvt.phpFind: class AdminStockMvt extends AdminTab { public function __construct() { $this->table = 'stock_mvt'; $this->className = 'StockMvt'; $this->edit = false; $this->delete = false; $this->view = true; then change $this->delete =false; into $this->delete = true; Now the delete button appears on the BO.Hope it doesn't bring any bugs, like I said, i am no expert. 1 Link to comment Share on other sites More sharing options...
raxsix Posted June 20, 2011 Author Share Posted June 20, 2011 Thanks for your replay, somehow i had figured out that problem but forgot to post the solution here. As far i remember i did the same thing that you suggested so now we have a solution here too. 1 Link to comment Share on other sites More sharing options...
w3bsolutions Posted December 30, 2013 Share Posted December 30, 2013 Any solution for this for PS 1.5? Link to comment Share on other sites More sharing options...
a1215121270 Posted August 22, 2015 Share Posted August 22, 2015 Hi I am no expert, but here is a trick I learned when searching for a way to delete test orders, I hope it works with stock movements as well. Go to your admin>tabs folder, then find and edit the file AdminStockMvt.php Find: class AdminStockMvt extends AdminTab{ public function __construct() { $this->table = 'stock_mvt'; $this->className = 'StockMvt'; $this->edit = false; $this->delete = false; $this->view = true; then change $this->delete =false;into $this->delete = true; Now the delete button appears on the BO. Hope it doesn't bring any bugs, like I said, i am no expert. Where can i find this admin -> tabsfolder ? Link to comment Share on other sites More sharing options...
Drakinfly Posted April 5, 2016 Share Posted April 5, 2016 Hi Guys I am trying to get rid of our test data but for some reason the stock movement is still in the admin section?I have used the phpmyadmin method to clear everything. For example: TRUNCATE TABLE ps_product; TRUNCATE TABLE ps_product_attachment; TRUNCATE TABLE ps_product_country_tax; Please can someone show me the right way in doing this I am using PS v1.6, thanks Link to comment Share on other sites More sharing options...
Drakinfly Posted April 8, 2016 Share Posted April 8, 2016 Any one know how to do this? Link to comment Share on other sites More sharing options...
Drakinfly Posted April 11, 2016 Share Posted April 11, 2016 Hi, is there a module or function in the admin side that can clear this? I have tried the (PrestaShop Cleaner) module but this did nothing the the stock movement at all. Link to comment Share on other sites More sharing options...
Recommended Posts