- Posts: 25
- Thank you received: 1
Mass actions order
11 years 5 months ago #199267
by fdesanto
Mass actions order was created by fdesanto
Can I set a order for "Mass actions"? if not, actions are ordered by ID?
I need to import product from CSV in folder position and after configure some other action on new imported products.
I need to import product from CSV in folder position and after configure some other action on new imported products.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #199270
by Xavier
Replied by Xavier on topic Mass actions order
Hi,
There is no possibility to order mass actions, they are indeed ordered by ID.
On which trigger are based your mass actions ? On time triggers ?
If it is, so yes creating them in the desired order and saving them one after each other will allow to execute them in a correct order. Else you can potentially create a plugin to call new triggers once a specific action is done and add the trigger in the list of the available triggers.
For example, once the product are imported call the trigger "onAfterProductsImported" and use this trigger in the following massaction to start it.
www.hikashop.com/support/support/documen...s-action-plugin.html
There is no possibility to order mass actions, they are indeed ordered by ID.
On which trigger are based your mass actions ? On time triggers ?
If it is, so yes creating them in the desired order and saving them one after each other will allow to execute them in a correct order. Else you can potentially create a plugin to call new triggers once a specific action is done and add the trigger in the list of the available triggers.
For example, once the product are imported call the trigger "onAfterProductsImported" and use this trigger in the following massaction to start it.
www.hikashop.com/support/support/documen...s-action-plugin.html
Please Log in or Create an account to join the conversation.
Time to create page: 0.178 seconds