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

Fbenitez97 patch 1 #175

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## Fixed

Modified the shortCodes for Czech Republic so what the address form component expects and what the Checkout UI custom APP sends is aligned.

## [0.8.28] - 2022-11-15

### Fixed
Expand Down
30 changes: 15 additions & 15 deletions checkout-ui-custom/src/_js/_countries.js
Original file line number Diff line number Diff line change
Expand Up @@ -4650,65 +4650,65 @@ module.exports._cities = [
},
],
},
{
{
countryName: 'Czech Republic',
countryShortCode: 'CZ',
regions: [
{
name: 'Hlavní město Praha',
shortCode: 'PR',
shortCode: 'Hlavní město Praha',
},
{
name: 'Jihočeský kraj',
shortCode: 'JC',
shortCode: 'Jihočeský kraj',
},
{
name: 'Jihomoravský kraj',
shortCode: 'JM',
shortCode: 'Jihomoravský kraj',
},
{
name: 'Karlovarský kraj',
shortCode: 'KA',
shortCode: 'Karlovarský kraj',
},
{
name: 'Královéhradecký kraj',
shortCode: 'KR',
shortCode: 'Královéhradecký kraj',
},
{
name: 'Liberecký kraj',
shortCode: 'LI',
shortCode: 'Liberecký kraj',
},
{
name: 'Moravskoslezský kraj',
shortCode: 'MO',
shortCode: 'Moravskoslezský kraj',
},
{
name: 'Olomoucký kraj',
shortCode: 'OL',
shortCode: 'Olomoucký kraj',
},
{
name: 'Pardubický kraj',
shortCode: 'PA',
shortCode: 'Pardubický kraj',
},
{
name: 'Plzeňský kraj',
shortCode: 'PL',
shortCode: 'Plzeňský kraj',
},
{
name: 'Středočeský kraj',
shortCode: 'ST',
shortCode: 'Středočeský kraj',
},
{
name: 'Ústecký kraj',
shortCode: 'US',
shortCode: 'Ústecký kraj',
},
{
name: 'Vysočina',
shortCode: 'VY',
shortCode: 'Vysočina',
},
{
name: 'Zlínský kraj',
shortCode: 'ZL',
shortCode: 'Zlínský kraj',
},
],
},
Expand Down