Skip to content

Shipping method don't reload by default country when first reload page #34135

@trungto3t

Description

@trungto3t

Preconditions (*)

1.Magento 2.4.2 with sample data (replicate on Magento 2.4.3)
2.PHP 7.4
3. Local enviroment.

Steps to reproduce (*)

1.Set United Kingdom to default country General->general->Country Options -> default country
2.Set shipping method free shipping for special countries United Kingdom
3.Add any product to cart.
4.Go to checkout page (Guest checkout,just open the checkout page, haven't filled in any fields)

Expected result (*)

  1. Shipping address country display United Kingdom
    2.Shipping method apprear free shipping method

Actual result (*)

  1. Shipping address country display United Kingdom
    2.Shipping method not apprear free shipping method

https://www.loom.com/share/3eb9cabfd8fe45d58f119d241d780c77
window.checkoutConfig.defaultCountryId was set by field https://i.imgur.com/JLs78qm.png https://i.imgur.com/T4Wim5p.png not General->general->Country Options -> default country

Metadata

Metadata

Assignees

Labels

Area: Cart & CheckoutComponent: CheckoutIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: dev in progressReported on 2.4.2Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions