Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Apr 2014
    Location
    Czech republic
    Posts
    21
    Plugin Contributions
    0

    application error Action after change order status in admin

    Hi all,

    I need exec automaticaly some php code after change order status in admin. Is it possible? And where is file for this change?

    Many thanks.

  2. #2
    Join Date
    Jun 2014
    Location
    Vancouver, Canada
    Posts
    7
    Plugin Contributions
    0

    Default Re: Action after change order status in admin

    admin/orders.php

    look for line:

    Code:
    case 'update_order':
    below this, look for:

    if ($order_updated == true) {
    if ($status == DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE) {

    ...code to executed

    }
    }

    In this case, if the order gets updated and the status is changed to DOWNLOADS_ORDERS_STATUS_UPDATED_VALUE, code is executed.

  3. #3
    Join Date
    Apr 2014
    Location
    Czech republic
    Posts
    21
    Plugin Contributions
    0

    Default Re: Action after change order status in admin

    Many thanks. Itīs goal.

 

 

Similar Threads

  1. v154 How to change customer information/status after product order?
    By delia in forum General Questions
    Replies: 5
    Last Post: 19 Jul 2016, 07:30 PM
  2. v154 Admin - Order status unchanged after x days
    By bbesthorne in forum Basic Configuration
    Replies: 1
    Last Post: 15 Jan 2016, 08:25 PM
  3. Replies: 1
    Last Post: 20 Dec 2011, 09:26 AM
  4. admin area has no status or action
    By surefiremedia in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Feb 2011, 11:59 PM

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