Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2008
    Location
    Georgia
    Posts
    68
    Plugin Contributions
    0

    Default Remove/delete order status updates

    I would like to delete an order status (enter in error) for a customer. How do I do this?

    Also, can I keep an order status update from appearing on the site under Order History and Comments?

  2. #2
    Join Date
    Jan 2008
    Location
    Georgia
    Posts
    68
    Plugin Contributions
    0

    Default Re: Remove/delete order status updates

    I found code from a 2007 thread to keep order status off Order Account History:
    Edit>> /includes/modules/pages/account_history_info/header.php

    $statuses_query = "SELECT os.orders_status_name, osh.date_added, osh.comments
    FROM " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh
    WHERE osh.orders_id = :ordersID
    AND osh.customer_notified ='1'
    AND osh.orders_status_id = os.orders_status_id
    AND os.language_id = :languagesID
    ORDER BY osh.date_added";

    HOWEVER -- I have v1.3.8a and it doesn't seem to work. When I "uncheck" notify customer I still see the new "Update" in the account profile.

    Any hints? I've tried putting the altered file into my CUSTOM folder and adjusting the default file.

    Thanks.

  3. #3
    Join Date
    Jan 2008
    Location
    Georgia
    Posts
    68
    Plugin Contributions
    0

    Default Re: Remove/delete order status updates

    Would anyone have insight on this?

    Thx

  4. #4
    Join Date
    Apr 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Remove/delete order status updates

    lkzone,

    I just add the customer_notified condition on my site and it worked.
    I modified the file and didn't use an overrride:

    /includes/modules/pages/account_history_info/header.php

    This might be a file that can't be overridden?

    Also my site is 1.3.7

    $statuses_query = "SELECT os.orders_status_name, osh.date_added, osh.comments
    FROM " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh
    WHERE osh.orders_id = :ordersID
    AND osh.orders_status_id = os.orders_status_id
    AND osh.customer_notified = '1'
    AND os.language_id = :languagesID
    ORDER BY osh.date_added";

  5. #5
    Join Date
    Jan 2008
    Location
    Georgia
    Posts
    68
    Plugin Contributions
    0

    Default Re: Remove/delete order status updates

    jmcdog,

    Thanks for letting me know. I haven't looked at this in a while -- I'm gonna check my code for errors. Most things that work in 1.3.7 work in 1.3.8 so maybe I have a typo. And I'll make sure it's in the default.

    ~Lynne

 

 

Similar Threads

  1. v139h Delete 'used' order status
    By PudzPud in forum Customization from the Admin
    Replies: 8
    Last Post: 24 May 2015, 04:40 PM
  2. Replies: 6
    Last Post: 17 Oct 2012, 04:01 AM
  3. Replies: 1
    Last Post: 10 May 2009, 11:20 PM
  4. Orders- Update status of order, delete order or print order paperwork.
    By dandownunder in forum Managing Customers and Orders
    Replies: 6
    Last Post: 8 Aug 2006, 09:11 AM
  5. order status updates
    By dstoops in forum Managing Customers and Orders
    Replies: 6
    Last Post: 22 May 2006, 03:02 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR