1

It's easy enough update the order status from the frontend using:

<input type="hidden" name="action" value="commerce/orders/updateStatus">
<input type="hidden" name="orderId" value="{{ order.id }}">
<input type="hidden" name="orderStatusId" value="{{ order.orderStatus.id }}">

But I'm wanting to add a message to go with the status. Any pointers? It looks like the message is part of the Order History model, not the Order Status model.

1 Answer 1

1

Updating an order from the front end would not be possible unless the user has update/manage order permissions.

As for the message it is simply a message post param that you send along with the status ID.

1
  • Thanks Luke. Something must have been awry as I'd tried that but it's now working. Commented Apr 12, 2018 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.