This post has been edited by Nick: 04 September 2010 - 02:39 AM
Page 1 of 1
Mass Delete
#1
Posted 04 September 2010 - 02:38 AM
Hi, it would be nice to be able to delete all the categories and the products at once.
#2
Posted 05 September 2010 - 02:10 AM
Hi, Nick!
It looks like a "Store reset" function. A very dangerous :-) OK, added to the do-to list. Thanks. Meanwhile you can use PHP My Admin for deleting products and categories. Please remember to delete all orders as well.
It looks like a "Store reset" function. A very dangerous :-) OK, added to the do-to list. Thanks. Meanwhile you can use PHP My Admin for deleting products and categories. Please remember to delete all orders as well.
#3
Posted 05 September 2010 - 02:51 AM
Cool!
It doesn't need to be a huge red button with the words do not press on it. A simple select all + delete, could be enough :)
A sort of Mass Delete for each kind of element (categories, products, manufacturers, orders... you name it).
I just find it time consuming to delete each element one by one, especially since clients usually change their mind way too often. I want them to be self-sufficient in managing their store. And if I had clients used to tools like phpMyAdmin, I'd be the luckiest and happiest developer on earth :D
Keep it up! ;)
It doesn't need to be a huge red button with the words do not press on it. A simple select all + delete, could be enough :)
A sort of Mass Delete for each kind of element (categories, products, manufacturers, orders... you name it).
I just find it time consuming to delete each element one by one, especially since clients usually change their mind way too often. I want them to be self-sufficient in managing their store. And if I had clients used to tools like phpMyAdmin, I'd be the luckiest and happiest developer on earth :D
Keep it up! ;)
#4
Posted 05 September 2010 - 01:55 PM
Nick, as a temporary solution you can create a CMS page with PHP code which will call MySQL queries for deleting all products and categories:
Any time when you access the page, it will delete all products. It is better to comment out query calls in the page code when you do not use the page, and delete the page as soon as you can.
Thanks
<?
Db_DbHelper::query('delete from shop_products');
Db_DbHelper::query('delete from shop_categories');
Db_DbHelper::query('delete from shop_products_categories');
Db_DbHelper::query('delete from shop_related_products');
Db_DbHelper::query('delete from shop_product_properties');
?>Any time when you access the page, it will delete all products. It is better to comment out query calls in the page code when you do not use the page, and delete the page as soon as you can.
Thanks
Share this topic:
Page 1 of 1

Help











