Open Bernix01 opened 2 days ago
@Bernix01, thanks for the report. We will get this patched in the near future.
@olivermrbl is this available to pick up? New to the project and think this could be a good first issue for me, please let me know thanks.
Bug report
Describe the bug
One is able to create order using
createOrdersWorkflow
with lineItems that are no linked to product variants i.e. not providingproduct_id
andvariant_id
to the line item(s).Admin dashboard fails to render the order details with console errors showing
TypeError: item.variant is undefined
System information
Medusa version (including plugins): v2 Node.js version: 20 Database: postgres Operating system: osx Browser (if relevant): not relevant
Steps to reproduce the behavior
createOrdersWorkflow
do not provideproduct_id
andvariant_id
to the line item.Expected behavior
Order details are shown
Screenshots
Code snippets
If applicable, add code samples to help explain your problem
Additional context
Add any other context about the problem here