Problem/Motivation

I have a plan to migrate from Ubercart 6 to Drupal Commerce 2 in which in Ubercart 6, there is an order comment (or log / message). One comment is to show to customer, another is internal comment for admin only. In Ubercart 6 also allow us to choose to email that message or status to our customer to let our customers know the status update for the order.

Try to find how to do it in Drupal Commerce 2 but the closest I can find is

- https://www.drupal.org/project/commerce/issues/2908196

which is allow us to add only Admin comment, nothing about Customer comment and nothing about email. The last patch #128 in that link provided what I would like it to have but I'm not sure that is the only method.

I also tested with a few other software :
- Prestashop
- Magento
- Opencart

All of them has this ability right after installation.

My question is as of now, the patch #128 is the only way to do it or is there is any other way?

Drupal 2 Commece 2 - Current

Drupal 2 Commece 2 With Patch

Opencart

Prestashop

Magento

Comments

abx created an issue. See original summary.

abx’s picture

Title: How to Add Order Comment and also Allow to notify customer via email » How to Add Order Comment and also Allow to notify customer via email?
abx’s picture

Issue summary: View changes
abx’s picture

abx’s picture

anybody’s picture

https://www.drupal.org/project/commerce_checkout_order_fields - might this module help? At least to leave a comment in the checkout flow as customer?

I also came across https://www.drupal.org/sandbox/vensires/3377345 here: #3377383: Commerce Log Mailer

abx’s picture

Thanks Anybody, I didn't look into this issue for a while. What I need is to have a way to send message to customer via Email / Log. Not only when checking out. Something like when, customer order something and it's out of stock, damaged item left. I should tell customer.

This one seems to match what I need but there is no release until now -> https://www.drupal.org/sandbox/vensires/3377345

I also found a way to do it via Core Comment + Rules / ECA. However, to try to customize Order page in Commerce is not easy. I can only make comment to appear on the right column, never be on left column. Layout Builder doesn't work for me in Order Commerce page. But, that's like a year ago. Something may have changed. Will try it again sometime.

jsacksick’s picture

@abx: #3267366: Add customer-facing order comments is technically addressing what you're requesting here.

abx’s picture

Thanks jsacksick, I already tested it a while ago and it works great but I tried not to use patch for basic functionality to prevent any problem if something has changed in core.