Skip to content

Cannot register label when region ID is blank #3698

@stefandoorn

Description

@stefandoorn

In my case 'shipping/origin/region_id' in 'core_config_data' is blank. For NL we don't work with regions, even though we are in a region. We are not used to mention the region on any address information.

Basically this blocks the creation of a Label as vendor/magento/module-shipping/Model/Shipping/Labels.php at Line 125 requires a Region Code.

I think there are more countries where this applies to.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions