Order Management Add-On
The Order Management add-on (MageB2B_StaffOrderManagement) enables order editing from the staff frontend (for assigned customers), including an “edit order mode” workflow.
Installation
composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/ composer require mageb2b/staff-ordermanagement:* php bin/magento module:enable MageB2B_StaffOrderManagement php bin/magento setup:upgrade php bin/magento cache:flush What It Adds
- A permission/flag per staff user:
can_edit_orders - Frontend routes to enter/exit order edit mode and to save order comments
- A configuration section for allowed states and rule bypasses (min qty / min order amount / backorders)
Screenshot placeholder: “Edit order” action in staff order view
Admin Setup (Per Staff User)
- Go to Staff >All Staff
- Edit a staff user
- Enable Can edit orders (field name may vary by UI)
Configuration
Location: Stores >Configuration > MageB2B > Staff > Order edit
staff/order_edit/allowed_order_state- Select which order states are editable (e.g.
new)
- Select which order states are editable (e.g.
staff/order_edit/disregard_min_qty_min_sale_qty- Allow staff orders that ignore min qty / min sale qty rules
staff/order_edit/disregard_min_order_amount- Allow staff orders that ignore minimum order amount rules
staff/order_edit/allow_backorders- Allow staff to order with backorders even if disabled for customers
Email Template
Location: Stores >Configuration > MageB2B > Staff > Email settings
staff/email/staff_edited_order_template- Template used when a staff user edited an order.
Notes
- Order editing is additionally restricted by the configured allowed order states.
- This add-on does not change admin order editing; it targets staff frontend workflows.
