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?
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?
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.
Would anyone have insight on this?
Thx
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";
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
Bookmarks