You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added "Address Validation" setting to the site settings page, allowing admins to preserve address fields that fall outside a country's standard format instead of having them removed during validation.
Copy file name to clipboardExpand all lines: locale/defaultMessages.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1141,6 +1141,10 @@
1141
1141
"context": "order history message",
1142
1142
"string": "Other event"
1143
1143
},
1144
+
"4k38A6": {
1145
+
"context": "card header and checkbox label",
1146
+
"string": "Preserve non-standard address fields"
1147
+
},
1144
1148
"4k9rMQ": {
1145
1149
"context": "variant attribute checkbox",
1146
1150
"string": "Variant Selection"
@@ -1517,6 +1521,10 @@
1517
1521
"context": "input placeholder",
1518
1522
"string": "Search by name, email, etc..."
1519
1523
},
1524
+
"6vf8AS": {
1525
+
"context": "section title",
1526
+
"string": "Address Validation"
1527
+
},
1520
1528
"6xC/Ls": {
1521
1529
"context": "informations about product seo, header",
1522
1530
"string": "SEO Information"
@@ -4803,6 +4811,10 @@
4803
4811
"context": "set balance button label",
4804
4812
"string": "Set Balance"
4805
4813
},
4814
+
"PJGv35": {
4815
+
"context": "section description",
4816
+
"string": "Controls how address fields that are not part of a country's standard format are handled. By default, such fields are removed during validation — enabling this setting preserves them as entered."
Copy file name to clipboardExpand all lines: schema-main.graphql
+19-3Lines changed: 19 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10165,10 +10165,19 @@ type Shop implements ObjectWithMetadata {
10165
10165
10166
10166
"""
10167
10167
Use legacy update webhook emission. When enabled, update webhooks (e.g. `customerUpdated`,`productVariantUpdated`) are sent even when only metadata changes. When disabled, update webhooks are not sent for metadata-only changes; only metadata-specific webhooks (e.g., `customerMetadataUpdated`, `productVariantMetadataUpdated`) are sent.
When enabled, address fields that are not valid for a given country (according to Google's i18n address data) will be preserved instead of being removed during validation. Validation errors are still returned.
10175
+
10176
+
Added in Saleor 3.22.
10177
+
10178
+
Requires one of the following permissions: MANAGE_SETTINGS.
Use legacy update webhook emission. When enabled, update webhooks (e.g. `customerUpdated`,`productVariantUpdated`) are sent even when only metadata changes. When disabled, update webhooks are not sent for metadata-only changes; only metadata-specific webhooks (e.g., `customerMetadataUpdated`, `productVariantMetadataUpdated`) are sent.
When enabled, address fields that are not valid for a given country (according to Google's i18n address data) will be preserved instead of being removed during validation. Validation errors are still returned.
20780
+
20781
+
Added in Saleor 3.22.
20782
+
"""
20783
+
preserveAllAddressFields: Boolean
20768
20784
}
20769
20785
20770
20786
"""
20771
-
Fetch tax rates.
20787
+
Fetch tax rates.
20772
20788
20773
20789
Requires one of the following permissions: MANAGE_SETTINGS.
* When enabled, address fields that are not valid for a given country (according to Google's i18n address data) will be preserved instead of being removed during validation. Validation errors are still returned.
30802
+
*
30803
+
* Added in Saleor 3.22.
30804
+
*
30805
+
* Requires one of the following permissions: MANAGE_SETTINGS.
* When enabled, address fields that are not valid for a given country (according to Google's i18n address data) will be preserved instead of being removed during validation. Validation errors are still returned.
* When enabled, address fields that are not valid for a given country (according to Google's i18n address data) will be preserved instead of being removed during validation. Validation errors are still returned.
26228
+
*
26229
+
* Added in Saleor 3.22.
26230
+
*
26231
+
* Requires one of the following permissions: MANAGE_SETTINGS.
26232
+
*/
26233
+
preserveAllAddressFields: Scalars['Boolean'];
26226
26234
/** List of private metadata items. Requires staff permissions to access. */
26227
26235
privateMetadata: Array<MetadataItem>;
26228
26236
/**
@@ -26449,6 +26457,12 @@ export type ShopSettingsInput = {
26449
26457
* Warning: never store sensitive information, including financial data such as credit card details.
26450
26458
*/
26451
26459
metadata: InputMaybe<Array<MetadataInput>>;
26460
+
/**
26461
+
* When enabled, address fields that are not valid for a given country (according to Google's i18n address data) will be preserved instead of being removed during validation. Validation errors are still returned.
Copy file name to clipboardExpand all lines: src/graphql/types.generated.ts
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6898,6 +6898,12 @@ export type ShopSettingsInput = {
6898
6898
* Warning: never store sensitive information, including financial data such as credit card details.
6899
6899
*/
6900
6900
metadata?: InputMaybe<Array<MetadataInput>>;
6901
+
/**
6902
+
* When enabled, address fields that are not valid for a given country (according to Google's i18n address data) will be preserved instead of being removed during validation. Validation errors are still returned.
0 commit comments