Needs review
Project:
Ubercart Views
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
26 Jul 2012 at 20:30 UTC
Updated:
26 Jul 2012 at 20:30 UTC
Hello,
I have patched this module so that you can change the status of any order to any available status value using Views Bulk Operations.
Method:
1. Added an element to the array returned by uc_views_bulk_operations_action_info()
2. Implemented new function uc_views_bulk_operations_change_order_status_action() with corresponding X_form() and X_submit() functions.
I did this because the "Move to next state" action, although great, did not offer the flexibility I needed to enable a client to batch update order statuses.
Please find attached the patch used.
Thanks,
Noah Lively
| Comment | File | Size | Author |
|---|---|---|---|
| allow-change-order-status.patch | 1.53 KB | noahlively |