Skip to content

Commit

Permalink
Merge pull request #273 from Shopify/dominiqueflaaa.additional_field_…
Browse files Browse the repository at this point in the history
…support_de

additional field support in DE
  • Loading branch information
DominiqueFlaaa authored Aug 13, 2024
2 parents d2c093d + ad235cd commit 58ab329
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Security in case of vulnerabilities.

## [Unreleased]
- add support for additional address fields streetName, streetNumber in DE [#273](https://github.com/Shopify/worldwide/pull/273)

---

Expand Down
15 changes: 14 additions & 1 deletion db/data/regions/DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,25 @@ languages:
- de
- en
example_address:
address1: Willy-Brandt-Straße 1
address1: Willy-Brandt-Straße 1
city: Berlin
zip: '10557'
phone: "+49 30 182722720"
format:
edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{zip}{city}_{phone}"
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{country}_{phone}"
format_extended:
edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{address2}_{zip}{city}_{phone}"
additional_address_fields:
- name: streetName
required: true
- name: streetNumber
required: true
combined_address_format:
default:
address1:
- key: streetName
- key: streetNumber
decorator: " "
emoji: "\U0001F1E9\U0001F1EA"
timezone: Europe/Berlin

0 comments on commit 58ab329

Please sign in to comment.