Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Mass update for order status

    Is it possible to run an SQL patch or something to change all orders in a certain order status to another order status, for example, from packing to dispatched?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Mass update for order status

    Yes. Though it's not as straightforward as most updates. You would need to write a patch that finds all entries in the orders_status_history table whose most recent entry matches the ID of your packing status and use that as your input list into a query that inserts a new entry into that table with the despatched status. So you are creating new entries, not amending the ones already there.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: Mass update for order status

    Writing that patch may be beyond my talents or available time. Are there any walkthroughs to show me how to write a patch?
    Could someone perhaps write one?

  4. #4
    Join Date
    Oct 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Mass update for order status

    you may also want to look into a mod called super orders (available in the free downloads section). it creates a Batch Order Status update section, allowing you to, for example, find all orders that are currently set to status "x" and change them to status "y". you can also define data ranges and other criteria for the orders to be updated.

 

 

Similar Threads

  1. Change Email Subject of Status Update Messages e.g. Order Update XXXX
    By apemusic in forum Managing Customers and Orders
    Replies: 4
    Last Post: 13 Oct 2010, 08:42 AM
  2. Update order status for more than one at a time
    By jeking in forum Managing Customers and Orders
    Replies: 3
    Last Post: 4 Jun 2008, 03:08 AM
  3. Looking for... Mass Order Update
    By ksoup in forum Managing Customers and Orders
    Replies: 6
    Last Post: 21 Dec 2007, 02:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg