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.
In Commerce 1.x we provided a local action link on the customer view of an order to easily link an administrator viewing an order from the front-end to the order management interface. Let's reproduce that in Commerce 2.x with a link titled "Manage this order" on the user view routes and link it to the admin view route for the order. The link should not appear if the user does not have access to the admin view route.
Comment | File | Size | Author |
---|---|---|---|
#3 | 3226527-3.patch | 567 bytes | jsacksick |
|
Comments
Comment #2
jsacksick CreditAttribution: jsacksick at Centarro commentedComment #3
jsacksick CreditAttribution: jsacksick at Centarro commentedSame patch, just renamed the action to match the route name (like the other actions, for consistency).
Comment #4
jsacksick CreditAttribution: jsacksick at Centarro commentedCommitted!