-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Admin order creation fails when "Include Tax In Order Total" set to yes #2675
Comments
erikhansen
pushed a commit
to erikhansen/magento2
that referenced
this issue
Dec 10, 2015
…ation page - When admin order page is loaded with "Shopping Cart Display Settings > Include Tax In Order Total" is set to yes, page will error due to missing "tax" key
This issue has been fixed in internal ticket MAGETWO-46808. Thanks for submitting the defect. |
magento-team
pushed a commit
that referenced
this issue
Jan 13, 2016
…In Order Total" set to yes #2675 -- fixed undefined tax index when on backend order page when tax_amount is 0
magento-team
pushed a commit
that referenced
this issue
Jan 13, 2016
…In Order Total" set to yes #2675 - Fixed the case when applied_taxes is in serialized form
magento-team
pushed a commit
that referenced
this issue
Jan 13, 2016
…In Order Total" set to yes #2675 - Fix another case where serialized form is expected
magento-team
pushed a commit
that referenced
this issue
Jan 13, 2016
…In Order Total" set to yes #2675 - Fix unit test failure
okorshenko
pushed a commit
that referenced
this issue
Jan 20, 2016
…In Order Total" set to yes #2675 -- fixed undefined tax index when on backend order page when tax_amount is 0
okorshenko
pushed a commit
that referenced
this issue
Jan 20, 2016
…In Order Total" set to yes #2675 - Fixed the case when applied_taxes is in serialized form
okorshenko
pushed a commit
that referenced
this issue
Jan 20, 2016
…In Order Total" set to yes #2675 - Fix another case where serialized form is expected
okorshenko
pushed a commit
that referenced
this issue
Jan 20, 2016
…In Order Total" set to yes #2675 - Fix unit test failure
okorshenko
pushed a commit
that referenced
this issue
Jan 20, 2016
…In Order Total" set to yes #2675
magento-team
pushed a commit
that referenced
this issue
Jun 27, 2018
…amespace-agnostic-2.2.5 [borg] MAGETWO-92468: Make PR testsuite namespace-agnostic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce issue:
Notice: Undefined index: tax in vendor/magento/module-sales/Block/Adminhtml/Order/Create/Totals/Grandtotal.php on line 77
Full backtrace available hereThis problem occurs because the \Magento\Tax\Model\Sales\Total\Quote\Tax::collect collector only returns a value if there are items in a quote. And since the quote won't contain any items, the "tax" collector isn't present in the totals array. I'll be submitting a PR to fix this shortly.
The text was updated successfully, but these errors were encountered: