Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Default checkout/{order_number}/complete
page contains header and 2 lines of text:
Your order number is
{order_number}
.
You can view your order on your account page when logged in.
I propose 2 changes:
1. Change order number to link to the order page (at least for logged-in user).
2. Remove second row for logged-in user (this seems to be a bug, therefore bug report category).
Tormi
Comments
Comment #2
tormiOrder > Checkout
Comment #3
shabana.navas CreditAttribution: shabana.navas at Acro Commerce commentedThe following patch links the order number and gets rid of the secondary message if the user is logged in.
Comment #4
Lukas von BlarerI think we should add the order summary pane as well. It is consistently shown through the ceckout but is missing on the complete page.
Comment #5
shabana.navas CreditAttribution: shabana.navas at Acro Commerce commentedAdded the order summary after the completion message as recommended in #4.
Comment #6
shabana.navas CreditAttribution: shabana.navas at Acro Commerce commentedComment #7
Lukas von BlarerThe patch doesn apply to latest dev. There seems to be a new theme hook:
Also i am not sure if the order summary belongs into the CompletionMessage pane. On the other pages it lives in the sidebar as a separate pane.
Comment #8
gauravjeet CreditAttribution: gauravjeet as a volunteer and at Acro Commerce commentedAdded order URL to order number for a logged in user.
This patch applies to latest dev.
PR : https://github.com/drupalcommerce/commerce/pull/749
Comment #9
gauravjeet CreditAttribution: gauravjeet as a volunteer and at Acro Commerce commentedComment #10
edurenye CreditAttribution: edurenye at ENDPHASYS Technologies commentedThis improves the user experience.
Setting to RTBC as it works fine.
Comment #11
Lukas von BlarerThe last patch removed the order summary pane again.
Comment #12
Lukas von BlarerThis patch adds the order summary again. But i guess that only mages sense if we apply the regulare checkout layout with sidebar. How can this be done?
Comment #13
Lukas von BlarerThis patch is using the new theme for the order summary introduced in #2896815: Replace the order summary view with a Twig template
Comment #14
Lukas von BlarerActually this doesn't take the setting of the order summary pane of the checkout flow into account. It always renders the template even if it is configured to use a view.
Comment #15
joachim CreditAttribution: joachim commentedTests will need updating too, as a lot of them check for the current message.
Comment #16
joachim CreditAttribution: joachim commentedAlso:
Is this a desired change? It's not mentioned in the issue summary.
Comment #17
Lukas von Blarer#16: Yes, isn't that a nice improvement?
Comment #18
joachim CreditAttribution: joachim commentedI guess? Maybe?
I mean, at this point, the customer has seen their order a zillion times on one page after another. And they are a click away from seeing it too.
It seems like scope creep on this issue to me. It would be nice to fix the complete page so for instance, it actually has a link to my order and doesn't tell me about things I can do when logged in when I am already logged in. Adding more features should maybe be left to a follow-up, where the merits of different features can be discussed.
Comment #19
lunk rat CreditAttribution: lunk rat commentedI agree with @joachim that
So adding another redundant order summary that shows on earlier checkout panes is not helpful here. But, at the root of this issue is that the two lines of obscure text in the current twig template are not helpful either (this weak completion message infuriates customers and store owners alike, in my experience). So what would be helpful?
If I just paid for something on a website, what do I want to see on the checkout completion screen?
{{ payment_instructions }}
variable in the twig template.This is the kind of stuff that makes happy customers who have clarity about what they just paid for on the website.
Comment #20
Lukas von BlarerI agree to everything in #19. That would be a great improvement!
Comment #21
perfectcu.be CreditAttribution: perfectcu.be as a volunteer and commented+1 for everything in #19
Dear future googlers,
For now I'm slapping a receipt into the commerce-checkout-completion-message.html.twig template (copied into my theme directory) using this hook_preprocess_commerce_checkout_pane() implementation ... the super terse, no error checking anything, hope you get the point, version:
After reading #19 I'm getting right on the last three, starting with "A message stating that something was emailed to me about my order" because that's the most sensible thing I've read all day.
-Dan
Comment #22
Lukas von BlarerI am using this much shorter and probably cleaner approach to adding the order summary to the checkout complete step: