I am trying to added part numbers into the invoice and order view pages. SKU numbers are pretty useless when picking stock when its all part numbers.

I have not been able to find someone who has been able to do this. I wish to add the part number in the same area as the SKU number or flat out replace it with a part number.

Any help to change this would be greatly appreciated.


Stock view in Orders > Sales > View: enter image description here What i would like to see: enter image description here

1 Answer 1


So the file responsible to render this view isvendor/magento/module-sales/view/adminhtml/layout/sales_order_view.xml

You need to override this file in your module or theme.

In this file (sales_order_view.xml), the following block is rendering product related info.


and vendor/magento/module-sales/view/adminhtml/templates/order/view/items/renderer/default.phtml is providing data in template.

Check if it can help in any way.

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.