magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.5k stars 9.3k forks source link

Total shipment amount is included in partial invoice even if shipment amount is applied per item #26286

Closed nandigowda-zz closed 3 years ago

nandigowda-zz commented 4 years ago

*Preconditions ()**

  1. Magento Community version 2.3.3
  2. Php 7.3
  3. Stores -> Configurration -> Sales -> Shipping methods -> Flat Rate -> Type is set to "Per Item"

*Steps to reproduce ()**

  1. Place an order with 2 different simple products priced 'item 1 price' and 'item 2 price' and 'total shipping amount' flat rate shipping, that include 'item 1 shipping amount' and 'item 2 shipping amount'.

  2. Create Partial invoice for item 1

  3. Create Partial invoice for item 2

    *Actual result ()**

  4. Item 1 partial invoice amount is 'item 1 price' + 'item 1 shipping amount' + 'item 2 shipping amount'.

  5. Item 2 partial invoice amount is 'item 2 price'

    *Expected result ()**

  6. Item 1 partial invoice amount should be 'item 1 price' + 'item 1 shipping amount'.

  7. Item 2 partial invoice amount is 'item 2 price' + 'item 2 shipping amount'.

m2-assistant[bot] commented 4 years ago

Hi @nandigowda. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@nandigowda do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?


m2-assistant[bot] commented 4 years ago

Hi @shikhamis11. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

shikhamis11 commented 4 years ago

@magento give me 2.4-develop instance

magento-engcom-team commented 4 years ago

Hi @shikhamis11. Thank you for your request. I'm working on Magento 2.4-develop instance for you

magento-engcom-team commented 4 years ago

Hi @shikhamis11, here is your Magento instance. Admin access: https://i-26286-2-4-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

nandigowda-zz commented 4 years ago

@magento give me 2.4-develop instance

magento-engcom-team commented 4 years ago

Hi @nandigowda. Thank you for your request. I'm working on Magento 2.4-develop instance for you

magento-engcom-team commented 4 years ago

Hi @nandigowda, here is your Magento instance. Admin access: https://i-26286-2-4-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

sdzhepa commented 4 years ago

@magento give me 2.4-develop instance

magento-engcom-team commented 4 years ago

Hi @sdzhepa. Thank you for your request. I'm working on Magento 2.4-develop instance for you

magento-engcom-team commented 4 years ago

Hi @sdzhepa, here is your Magento instance. Admin access: https://i-26286-2-4-develop.instances.magento-community.engineering/admin_48cf Login: 810b7e13 Password: 73adc26fead9 Instance will be terminated in up to 3 hours.

m2-assistant[bot] commented 4 years ago

Hi @sdzhepa. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

shikhamis11 commented 4 years ago

Hi @sdzhepa can you please check this issue with the product owner for what will be the actual result for this issue .. It seems issue for flat rate if setting is per item but it will not be issue for other custom shipping methods

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 14 days if no further activity occurs. Is this issue still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? Thank you for your contributions!

snez commented 2 years ago

This is still a problem on Magento 2.4. Partial invoices force-include the full order shipping amount, whereas in certain cases, the merchant may wish to invoice a lesser shipping amount.

mbaysinger commented 1 year ago

This is still a problem in Magento 2.4.5 as well. I raised this issue with our Adobe Commerce rep and Adobe Commerce support, and they confirmed that this is expected behavior, with no plans to fix it.