- Posts: 45
- Thank you received: 0
Mass action delete all articles
- info@ifparts.com
-
Topic Author
- Offline
To start over I would like to delete all.
I have been informed that I can use Mass action and delete category for category.
But I am unable to find out how it works, can you help?
See attachment for the settings I have tried:
Please Log in or Create an account to join the conversation.
It looks like this category has the ID 17 so you should try with this ID instead.
Please Log in or Create an account to join the conversation.
- info@ifparts.com
-
Topic Author
- Offline
- Posts: 45
- Thank you received: 0
But it still does not work.
I have tried a few different options, but without reslut, see attachment
Please Log in or Create an account to join the conversation.
This option has to be set on "Product". Also, could you confirm that you have something displayed next to the filter? Like the number of product in the category.
Please Log in or Create an account to join the conversation.
- info@ifparts.com
-
Topic Author
- Offline
- Posts: 45
- Thank you received: 0
Please see second print screen in the zip file of my previous post.
I have also tried with, selecting product. I have writen the number of a category in the filter.
Please Log in or Create an account to join the conversation.
Please edit the massaction.php file in administrator/components/com_hikashop/classes and delete this line:
It should work better
Please Log in or Create an account to join the conversation.
- info@ifparts.com
-
Topic Author
- Offline
- Posts: 45
- Thank you received: 0
This did the job. Thank you very much!!
Please Log in or Create an account to join the conversation.
- info@ifparts.com
-
Topic Author
- Offline
- Posts: 45
- Thank you received: 0
2 small problems,
1 st problem see print screen: categories are deleted, but the articles still excist.
2nd: Mass action is not starting any more.
Please Log in or Create an account to join the conversation.
1 - If you're deleting the categories that's normal, you should have deleted the product first and then the category itself. Mass actions are made to process specific data (categories for example) without impacting other data (product).
2 - Could you be more precise about it? How does this happen?
Please Log in or Create an account to join the conversation.
- info@ifparts.com
-
Topic Author
- Offline
- Posts: 45
- Thank you received: 0
1. Is it possible to delete all articles afterwards?
2. If I try to open a new massaction or try to open an excisting one, I receive a blank screen. Nothing else happens.
Please Log in or Create an account to join the conversation.
2 - Really strange behavior, could you turn on the debug mode in the main joomla configuration.
We will also probably need a backend and a FTP access to check this and fix it. You can PM me these informations
Please Log in or Create an account to join the conversation.
It is opening the mass action screen when you create a new one or edit an old mass action.
It just take a very long time, and probably crash your browser.
We are actually not able to reproduce that bug on our local websites, so I will try to debug that on your end.
Have you any plugin which could be called when editing a massaction, or something else ?
I think that there is an endless loop.
Please Log in or Create an account to join the conversation.
- info@ifparts.com
-
Topic Author
- Offline
- Posts: 45
- Thank you received: 0
It seems like this problem solved itself, I am able to use/open mass action again.
But when i try to dele all records nothing happens, I have tried the following configurations:
1. Data: product
Trigger filter: empty
Filters: Empty
Action: Delete elements
2. Data: product
Trigger filter: off
Filters: Product column > id 1 (I only fill in: 1)
Action: Delete elements
With the first option, nothing happens
With the second option, only 500 lines are deleted.
Are you able to advice me about what I am doing wrong?
Please Log in or Create an account to join the conversation.
I think that the problem come form the number of products to delete.
If there is too much products it can't suppress all of them in one step.
I suggest to use the limit, set a limit from 0 to 500, and do the process many times.
Please Log in or Create an account to join the conversation.
- info@ifparts.com
-
Topic Author
- Offline
- Posts: 45
- Thank you received: 0
I have just ordered and paid for the bussines edition.
This is no good news, ins't there any other option to delete parts?
Please Log in or Create an account to join the conversation.
Thanks to replace the function "onProcessProductMassActiondeleteElements" in the file "your_site/plugins/hikashop/massaction_product" by:
This will delete all the product 500 per 500.
Please Log in or Create an account to join the conversation.