Jump to content

Push notification on Order Comment


GuusMichielsen

Recommended Posts

Hi all,

I can't figure out how to get the comments a customer leaves when finishing an order to show up in the back office. (The comments left in the box: 'If you would like to add a comment about your order, please write it in the field below.')
These comments are successfully stored in the database (table: ps_message), but in the BO they are nowhere to be seen.

 

All the records in the ps_message-table with an id_order associated with them are visible, but since the missing comments are added to the db before the order is finalized they only have a cart ID, not an order ID.

 

I seem to remember that in the past we got Push Notifications when a customer left these messages, but somewhere along the line these stopped coming. I'm sure I have myself (or a third party module) to blame for this, but I have no idea where to start looking.

(Prestashop Version: 1.6.1.4)

 

Thanks!

Link to comment
Share on other sites

ndiaga, thank you for the quick response.

Could you elaborate on this?
If you mean the Customer-area in the BO, they aren't showing up there. Comments left in the 'Customer Service'-form however do show up there.
This area only shows messages stored in the ps_customer_message-table, but not the messages in the ps_message-table.

Link to comment
Share on other sites

I'm searching for the messages left by the customer during checkout.
On the checkout-page (I'm using one page checkout) there is a textarea with the title 'If you would like to add a comment about your order, please write it in the field below.' above it.

The messages left in this textarea are stored in the ps_message table in the database. If they have a value in the column 'id_order', these messages show up in the Order Area in the backoffice, but if they don't have an Order ID, they are nowhere to be found.


 

Link to comment
Share on other sites

Yes those messages can be found in the Customer page I think.

 

Unfortunately, in my case, they don't.

That is exactly my problem, and the reason I'm asking this question.

 

I believe you, when you say they should be there, but somehow they aren't in my case.

 

 

 So you need  to deplay even there is no Order?  In this case you need a work around.

 

They are indeed send before the order is completed, because the order is finalized after the payment, but the payment happens after filling out the checkout-page. I believe this is the case with everybody, not me specifically.

 

Or, should the order-confirmation assign an id_order to this message, and is this simply not happening in my case?

Edited by GuusMichielsen (see edit history)
Link to comment
Share on other sites

I'm sorry, I'm not trying to be rude here, and I appreciate the time you've spend trying to help me, but I don't believe this is true.

I cannot believe it is by design that the comments left during checkout are not visible, why would the textarea be there if the messages left there won't ever reach me?

However, I'll have a look at your module.

Thank you!

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...