Line 177 in includes/functions/functions_osh_update.php has $_SESSION['customers_id']. Should it be $_SESSION['customer_id']?
Dave
Line 177 in includes/functions/functions_osh_update.php has $_SESSION['customers_id']. Should it be $_SESSION['customer_id']?
Dave
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).
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.
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.
Bookmarks