Mass actions order

  • Posts: 25
  • Thank you received: 1
9 years 7 months ago #199267

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.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 7 months ago #199270

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum