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

Magento 2.2.0 One page checkout initial postage calculation ignores "default country" using table rate shipping. #13537

Closed
XOR37H opened this issue Feb 7, 2018 · 8 comments
Assignees
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@XOR37H
Copy link

XOR37H commented Feb 7, 2018

Magento 2.2.0 When using table rate shipping the shipping cost shown initially on the one page checkout defaults to US shipping table rate price irrespective of the default country being set to United Kingdom.

Our store is based in the UK and has a domestic table rate shipping cost of £5.20, the default country is set to 'United Kingdom' one page checkout correctly sets the country in the dropdown, however the initial postage price shown is £18.20 our USA table rate price, initially showing the incorrect (higher price) is off putting to customers.

Preconditions

  1. Magento CE 2.2.0
  2. PHP 7.0.24
  3. Nginx 1.10.2
  4. tablerates.csv example
Country,Region/State,Zip/Postal Code,Weight (and above),Shipping Price
USA,*,*,0,1
GBR,*,*,0,2
*,*,*,0,3

Steps to reproduce

  1. Set Default country to "United Kingdom".
  2. Setup table rate shipping.
  3. Add item to cart.
  4. Proceed to one page checkout.
  5. Default country is set automatically to "United Kingdom" as expected.
  6. The initial shipping price displayed is that of the USA but should be the UK.
  7. Deselect then reselect "United Kingdom" the shipping price refreshes correctly.

Expected result

  1. Initial (table rate) shipping price shown on one page checkout should be the shipping price of the "default country" or it should not display any shipping price until a valid country is selected.

Actual result

  1. Despite the default country (United Kingdom) being correctly set in the one page checkout country dropdown, the Initial shipping price shown incorrectly defaults to the USA table rate shipping price.

  2. Deselecting then reselecting the country (United Kingdom) refreshes the price correctly.

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Feb 7, 2018
@XOR37H XOR37H changed the title Magento 2.2.0 One page checkout initial postage calculation ignores "default country". Magento 2.2.0 One page checkout initial postage calculation ignores "default country" using table rate shipping. Feb 7, 2018
@magento-engcom-team
Copy link
Contributor

@XOR37H, thank you for your report.
We've acknowledged the issue and added to our backlog.

@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Feb 7, 2018
@AleksLi
Copy link
Contributor

AleksLi commented Feb 13, 2019

@magento-engcom-team I would like to have this issue, but I can't assign it to me. Please take a look at my permissions.

@magento-engcom-team
Copy link
Contributor

Hi @AleksLi. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

  • 1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 2. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 3. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • 4. If the issue is not relevant or is not reproducible any more, feel free to close it.

@magento magento deleted a comment from amol2jcommerce Feb 22, 2019
@magento magento deleted a comment from dipti2jcommerce Feb 22, 2019
@magento magento deleted a comment from priti2jcommerce Feb 22, 2019
@magento magento deleted a comment from nainesh2jcommerce Feb 22, 2019
@magento magento deleted a comment from nilesh2jcommerce Feb 22, 2019
@magento magento deleted a comment from dipti2jcommerce Feb 22, 2019
@magento magento deleted a comment from nainesh2jcommerce Feb 22, 2019
@magento magento deleted a comment from ajay2jcommerce Feb 22, 2019
@magento magento deleted a comment from nilesh2jcommerce Feb 22, 2019
@magento magento deleted a comment from priti2jcommerce Feb 22, 2019
@magento magento deleted a comment from prakash2jcommerce Feb 22, 2019
@magento magento deleted a comment from amol2jcommerce Feb 22, 2019
@magento magento deleted a comment from ajay2jcommerce Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from amol2jcommerce Feb 22, 2019
@magento magento deleted a comment from nilesh2jcommerce Feb 22, 2019
@magento magento deleted a comment from priti2jcommerce Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from magento-engcom-team Feb 22, 2019
@magento magento deleted a comment from priti2jcommerce Feb 22, 2019
@ghost ghost unassigned AleksLi Apr 19, 2019
@sanjayjethva
Copy link

I am working on this at #dmcdindia19

@magento-engcom-team
Copy link
Contributor

@sanjayjethva thank you for joining. Please accept team invitation here and self-assign the issue.

@m2-assistant
Copy link

m2-assistant bot commented May 4, 2019

Hi @sanjayjethva. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

  • 1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 2. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 3. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • 4. If the issue is not relevant or is not reproducible any more, feel free to close it.

@ghost ghost unassigned sanjayjethva Sep 27, 2019
@sdzhepa sdzhepa removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release Event: dmcdindia1 Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development labels Dec 6, 2019
@engcom-Echo engcom-Echo self-assigned this Dec 9, 2019
@m2-assistant
Copy link

m2-assistant bot commented Dec 9, 2019

Hi @engcom-Echo. 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: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Echo
Copy link
Contributor

Hello All

I am not able to reproduce this issue on the 2.4-develop branch by provided steps.

Testing scenario:

Steps to reproduce:

  1. Set Default country to "United Kingdom".
  2. Setup table rate shipping.
  3. Add item to cart.
  4. Proceed to one page checkout.
  5. Default country is set automatically to "United Kingdom" as expected.

Result
The initial shipping price displayed is that of the UK.
Screenshot_5
Screenshot_6

So I have to close this issue.
Thanks for your report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

6 participants