Discussions

Show order state on when looking at previously placed orders

Does anyone know where I should start looking if I want to add the current state (pending, processing, complete, etc.) of an order to the order information page? By order information page I mean the page you go to when you click a specific order number from the list of orders on you user profile.

Thanks in advance for the help.

Posted: Sep 15, 2011

Comments

neardark on September 15, 2011

Prince

The view you want to look at is User Order Details. You might see two displays for that view, both called User Orders. You might have to edit one or the other - not sure which is it (I think the first might be the list of all orders on the User > Orders tab, and the second would be the order detail.

Under Fields, I believe you'll want to add Commerce Order: Order Status

John McCormick / NEAR DARK

Prince Manfred on September 15, 2011

Thanks for the reply. I have a view called "User order" but it only has a display for the list of all the orders. Once you click on a specific order you are taken to a page that I can't find a view for.

Prince Manfred on September 15, 2011

Alright. I just created a new page display for the view, configured the path to coincide with how the other display was structured and all is good. Thanks for the help. I don't know that I would have even tried that if you didn't point out that you had a second display there.

mattnorman on December 21, 2011

I wanted to do exactly the same thing as Prince Manfred but I'd prefer to modify the existing view directly rather than adding another view with the same path just to avoid confusion further down the line. But like him I also don't have have a 2nd display on the order details view.

Anyone know where I can find it?

millionleaves David Parrott on August 27, 2013

When you enable Commerce Backoffice you get a dropdown field appear under the billing information on the individual order page. You can change the order status and save the change, even though it's only a View page not an Edit page.