Skip to content

Back-End issue for multi-store website: when editing Order shipping/billing address - allowed countries are selected from wrong Store View  #12560

Closed
@svejegres

Description

@svejegres

Preconditions

  1. Magento 2.1.10 CE & 2.3.x
  2. PHP 7.0.22
  3. MySQL 5.6

Steps to reproduce

  1. Create multi-stores
  2. Configure different 'Allow Countries' settings for different stores (Configuration > General > Country Options)
  3. Go to Admin > Sales > Orders > Go to any order view page
  4. Press "Edit" near Shipping Address: you will see the different values for Country dropdown.

Expected result

  1. Address Country drop-down in Admin should take values from 'Allow Countries' setting configured for the Website Store View where that order was made (e.g.: for German store with id = 7)

Actual result

  1. But it's picking the 'Allow Countries' from first store View (with id=1).
  2. If before steps 3 and 4 from "Steps to reproduce" go to Admin > Sales > Create New Order and when creating it select some different Store View (e.g.: Italian, with id = 10) then actual result after "Steps to reproduce" will show allowed countries for that selected Store View (with id = 10, if continue on example).

Similar issue was already mentioned here: #7036
And fixed here.

Metadata

Metadata

Labels

Component: AdminFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions