cancel
Showing results for 
Search instead for 
Did you mean: 

getting order comments

SOLVED

getting order comments

Hi experts,

 

My order comment is empty with command  $order->getDeliveryNotice() and $order->getCustomerNote() at event sales_order_place_after. I have checked the SQL data afterwards in table sales_flat_order_status_history and my comment is saved. I also tried to get this comments with a SQL query during this event and also no result. Instead of sales_flat_order_status_history the order record is saved in sales_flat_order. How do I get the ordercomment during placing the order? My magento version is 1.9.2.4  Thank you.

 

Kind regards, Jeroen

1 REPLY

Re: getting order comments

Hello,

 

May be you should try to get it from quote instead from order object.

Greetings,
Daniel.