When using the "Commerce Custom Order Status" module, any custom statuses added do not list in the bulk operations drop down.

Comments

tmai82 created an issue. See original summary.

digitalfrontiersmedia’s picture

Have there really only been two people who needed this? 3,183 sites currently report using commerce_custom_order_status. Yet only 2 have wanted to actually change order statuses in bulk to one of their custom ones? Crazy!

digitalfrontiersmedia’s picture

Title: Does not include custom order statuses » Commerce Backoffice VBO Does not include custom order statuses
Category: Feature request » Support request
Status: Active » Closed (works as designed)

[Changing title for clarity.]

Okay. FTR, this is possible but not obvious in its mechanism. I, like others, probably assumed that Commerce Backoffice is assembling a list of statuses for it to assign in the VBO. This is incorrect. As with VBO, in general, it assembles a list of Rules Components/Action Sets. So if you don't have a component to change an order status to your custom status, then it's simply not going to happen.

Steps to take to get Backoffice VBO to include a custom status:

  1. Go to /admin/config/workflow/rules/components and clone "Set order status : Completed".
  2. Change name to match your custom status and "continue".
  3. Edit the Action for the component added and select your custom status instead of "Completed".
  4. Return to/admin/structure/views/view/commerce_backoffice_orders/edit and edit the "Bulk operations: Commerce Order
    " field.
  5. Check the box for your new component to add it as an enabled VBO option and save.

Closing this and changing to Support Request.