Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set correct quantity on order import #2837

Merged

Conversation

fastjames
Copy link
Contributor

When importing an order, we need to create the line items before we
check for them (which happens when creating shipments). Previously, we
were checking for / auto-creating line items, and then adding to them.
This resulted in incorrect quantities on imported order line items.

When importing an order, we need to create the line items before we
check for them (which happens when creating shipments). Previously, we
were checking for / auto-creating line items, and then adding to them.
This resulted in incorrect quantities on imported order line items.
Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I never directly used the order importer but this seems to make sense to me, thanks

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thank you

@kennyadsl kennyadsl merged commit 87dbb25 into solidusio:master Sep 4, 2018
@fastjames fastjames deleted the order_import_line_item_quantity branch September 11, 2018 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants