Implement Add Order Item action and modal

Created on 8 September 2025, 5 days ago

Problem/Motivation

Customer Service Representatives currently face significant workflow inefficiencies when adding items to existing orders. The current system forces users to navigate away from the order view to a separate edit page just to add a single product. This creates unnecessary friction and dramatically reduces productivity for teams processing high volumes of orders.

Proposed Resolution

  • Implement an "Add Item to Order" functionality directly within the order view interface. This feature should:
  • Display an "Add Item to Order" button positioned below the order items list
  • Only appear for draft orders (completed orders should not show this option)
  • Launch a modal dialog containing the product search widget from https://www.drupal.org/project/commerce/issues/3403314 πŸ“Œ Define an OrderItems widget leveraging our Inline Form plugins Active
  • Allow users to search for products, adjust quantities, and modify pricing without leaving the order context
  • Complete the entire add-item workflow within the modal interface

Steps to Reproduce

Current workflow requires:

  • Navigate to order view page
  • Click "Edit" to access order edit page
  • Add new item through edit interface
  • Save and return to order view

Proposed Solution

  • Navigate to order view page
  • Click "Add Item to Order" button (draft orders only)
  • Search and select product in modal
  • Adjust quantity and pricing inline
  • Confirm addition without page navigation
✨ Feature request
Status

Active

Version

3.0

Component

Order

Created by

πŸ‡·πŸ‡ΈSerbia rinasek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024