gdimi Posted October 4, 2013 Share Posted October 4, 2013 Hello to the prestashop community! I'm having an issue, I cant delete products from my shop, even a test product I made for which there are no pending/open orders! I've read some threads about it and I didnt find something usefull... Please help! Link to comment Share on other sites More sharing options...
NemoPS Posted October 4, 2013 Share Posted October 4, 2013 Hi, and welcome to the forums! WHat do you get when you try to delete the product? Error/s? Blank page? Link to comment Share on other sites More sharing options...
gdimi Posted October 4, 2013 Author Share Posted October 4, 2013 Thanks Nemo1, it throws an error "An error occurred during deletion: this product is contained in an order" Offcourse this is a test product and there is no such order Link to comment Share on other sites More sharing options...
NemoPS Posted October 4, 2013 Share Posted October 4, 2013 Weird, is there a chance you can login to your phpmyadmin, and check if there is any entry in ps_order_detail? Perhaps with the product id? Link to comment Share on other sites More sharing options...
gdimi Posted October 4, 2013 Author Share Posted October 4, 2013 I dont see how is this possible because I made this test product only to delete it afterwards as a test, because the same problem is at least valid for some of real products. I'll try it and get back with the results! Link to comment Share on other sites More sharing options...
gdimi Posted October 4, 2013 Author Share Posted October 4, 2013 No, there is nothing in ps_order_detail regarding this test product! I turn error reporting to on and debug mysql to true but there is no additional error Link to comment Share on other sites More sharing options...
NemoPS Posted October 4, 2013 Share Posted October 4, 2013 What about ps_cart_product? Link to comment Share on other sites More sharing options...
gdimi Posted October 4, 2013 Author Share Posted October 4, 2013 And again...nothing.. Link to comment Share on other sites More sharing options...
El Patron Posted October 4, 2013 Share Posted October 4, 2013 if it says there is an associated order...then you can bet there is... I suggest you just disable the test product...and not muck around with deleting anything to get around this... there are loads of issues with deleting orders...i.e. ghost products getting added to carts for example... my three cents 1 Link to comment Share on other sites More sharing options...
gdimi Posted October 4, 2013 Author Share Posted October 4, 2013 Thank you very much, but this is not the case..I made the test product in a clone of the e-shop, there is no order on it, no cart, nothing. Actually the same error appears in other products and there isn't something on them either. I even run an sql query to check it in case my eyes where fooling me.. anyway thanks again! Link to comment Share on other sites More sharing options...
El Patron Posted October 4, 2013 Share Posted October 4, 2013 ok then...lets' assume you haven't mucked anything up...that what you are using is native... what is you ps version? Please make sure to post this on new topics...oops never mind...1.4.1.1..my bad Link to comment Share on other sites More sharing options...
justdogwalking.com Posted December 14, 2013 Share Posted December 14, 2013 Hi Just come across your issue as I have started to get ghost carts . Try this free module www.catalogo-onlinersi.com.ar I find it clears nearly all the rubbish from one's d.base. Link to comment Share on other sites More sharing options...
gdimi Posted December 14, 2013 Author Share Posted December 14, 2013 thanks for your reply, actually I solved my problem. There was an override product class which returned false on product delete and therefore prevented any deletion Link to comment Share on other sites More sharing options...
Recommended Posts