Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2012
    Posts
    406
    Plugin Contributions
    0

    Default Order Status History Update function error?

    Line 177 in includes/functions/functions_osh_update.php has $_SESSION['customers_id']. Should it be $_SESSION['customer_id']?
    Dave

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    9

    Default Re: Order Status History Update function error?

    looks like it.

    best.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Order Status History Update function error?

    I agree, although it's a relatively benign error. I'm still trying to remember why I felt that it was necessary to differentiate logged-in customers (i.e. during the checkout process) and after-order actions (e.g. ipn_main_handler returns).

  4. #4
    Join Date
    Apr 2019
    Posts
    242
    Plugin Contributions
    0

    Default Re: Order Status History Update function error?

    Thanks. It works for me.

    I'm using shipworks to bulk update order status to our website as shipped. Order status in my website can be updated by shipworks correctly, but the order status in shipworks ("store status") doesn't updated and remains unchanged. Functions_osh_update.php fixes my issue. The order status in both my website and shipworks software are updated correctly now.

  5. #5
    Join Date
    Jun 2012
    Posts
    406
    Plugin Contributions
    0

    Default Re: Order Status History Update function error?

    The reason I flagged this is that I've messed up typing $_SESSION customer related data so many times, I usually search my work for typos. Other customer data is customers, but id is customer. On one of my searches, I found this in OSH update along with a mistake in my work. It's the only occurrence of $_SESSION['customers_id'] in zc 157c.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 1 Jul 2020, 05:15 PM
  2. Order Status History & Comments
    By dmagic in forum Basic Configuration
    Replies: 3
    Last Post: 21 May 2015, 01:06 PM
  3. 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
  4. Error message after order status update
    By andre62 in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2008, 10:44 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