diff --git a/src/shipping/components/ShippingZoneWarehouses/ShippingZoneWarehouses.tsx b/src/shipping/components/ShippingZoneWarehouses/ShippingZoneWarehouses.tsx index 79f57a64f..d3b09808d 100644 --- a/src/shipping/components/ShippingZoneWarehouses/ShippingZoneWarehouses.tsx +++ b/src/shipping/components/ShippingZoneWarehouses/ShippingZoneWarehouses.tsx @@ -71,6 +71,11 @@ export const ShippingZoneWarehouses: React.FC = pr defaultMessage: "Select Warehouse", description: "input placeholder" })} + label={intl.formatMessage({ + defaultMessage: "Warehouse", + description:"autocomplete select label" + id: "shippingZoneWarehouses.autocomplete.label" + })} value={data.warehouses} /> diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index 256772bbf..f6535eb25 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -2640,6 +2640,49 @@ exports[`Storyshots Generics / Global messages with undo action 1`] = ` `; +exports[`Storyshots Generics / Link with choices default 1`] = ` +
+
+
+
+ + + Åland Islands + + + +
+
+
+
+`; + exports[`Storyshots Generics / Money formatting default 1`] = `
`; +exports[`Storyshots Generics / Select with autocomplete with add 1`] = ` +
+
+
+
+
+ +
+ + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+`; + exports[`Storyshots Generics / SingleSelectField with error hint 1`] = `
+
+
+
+ +
+
+
+ Warehouses +
+
+ Manage and update your warehouse information +
+
+
+
+ + +
+
+
+ Product Settings +
+
+
+
+
+
+ +
+
+
+ Warehouses +
+
+ Manage and update your warehouse information +
+
+
+
+
+
+
+ +
+
+
+ Permission Groups +
+
+ Manage your permission groups and their permissions +
+
+
+
+
+
+
+
+
+ Product Settings +
+
+
@@ -34546,44 +34889,6 @@ exports[`Storyshots Views / Configuration default 1`] = `
-
-
-
- -
-
-
- Permission Groups -
-
- Manage your permission groups and their permissions -
-
-
-
+
+
+ Available inventoty at: +
+ + + All Warehouses + + + +
@@ -102715,6 +103054,40 @@ exports[`Storyshots Views / Products / Create product variant add first variant
+
+
+ Available inventoty at: +
+ + + All Warehouses + + + +
@@ -103172,6 +103545,40 @@ exports[`Storyshots Views / Products / Create product variant default 1`] = `
+
+
+ Available inventoty at: +
+ + + All Warehouses + + + +
@@ -104124,6 +104531,40 @@ exports[`Storyshots Views / Products / Create product variant with errors 1`] =
+
+
+ Available inventoty at: +
+ + + All Warehouses + + + +
@@ -105850,13 +106291,7 @@ Ctrl + K" class="MuiTableCell-root-id MuiTableCell-head-id ProductVariants-colName-id" scope="col" > - Name - - - Status + Variant SKU + + Inventory + Cordoba Oro - -
- Available -
- 87192-94370 + + 5 available at 2 locations + silver - -
- Available -
- 69055-15190 + + 13 available at 1 location + @@ -107387,13 +107818,7 @@ Ctrl + K" class="MuiTableCell-root-id MuiTableCell-head-id ProductVariants-colName-id" scope="col" > - Name - - - Status + Variant SKU + + Inventory + Cordoba Oro - -
- Available -
- 87192-94370 + + 5 available at 2 locations + silver - -
- Available -
- 69055-15190 + + 13 available at 1 location + @@ -109172,13 +109593,7 @@ Ctrl + K" class="MuiTableCell-root-id MuiTableCell-head-id ProductVariants-colName-id" scope="col" > - Name - - - Status + Variant SKU + + Inventory + Cordoba Oro - -
- Available -
- 87192-94370 + + 5 available at 2 locations + silver - -
- Available -
- 69055-15190 + + 13 available at 1 location + @@ -110957,13 +111368,7 @@ Ctrl + K" class="MuiTableCell-root-id MuiTableCell-head-id ProductVariants-colName-id" scope="col" > - Name - - - Status + Variant SKU + + Inventory + Cordoba Oro - -
- Available -
- 87192-94370 + + 5 available at 2 locations + silver - -
- Available -
- 69055-15190 + + 13 available at 1 location + @@ -116006,6 +116407,99 @@ Ctrl + K"
+
+
+
+ + Warehouse + +
+
+
+
+
+
+
+ + +

+ Select warehouse from which you will ship products for this shipping zone. This warehouse address will also be used to calculate taxes. +

+
+
+
+
+
@@ -116192,7 +116686,7 @@ exports[`Storyshots Views / Products / Product image details when loaded data 1` > ​ @@ -116245,6 +116739,99 @@ exports[`Storyshots Views / Products / Product image details when loaded data 1`
+
+
+
+ + Warehouse + +
+
+
+
+
+
+
+ + +

+ Select warehouse from which you will ship products for this shipping zone. This warehouse address will also be used to calculate taxes. +

+
+
+
+
+
@@ -116417,6 +117004,99 @@ exports[`Storyshots Views / Products / Product image details when loading data 1 +
+
+
+ + Warehouse + +
+
+
+
+
+
+
+ + +

+ Select warehouse from which you will ship products for this shipping zone. This warehouse address will also be used to calculate taxes. +

+
+
+
+
+
@@ -123015,7 +123695,7 @@ exports[`Storyshots Views / Services / Create service default 1`] = ` > ​ @@ -123826,7 +124506,7 @@ exports[`Storyshots Views / Services / Create service form errors 1`] = ` > ​ @@ -125464,7 +126144,7 @@ exports[`Storyshots Views / Services / Service details default 1`] = ` > ​ @@ -134935,7 +135615,7 @@ exports[`Storyshots Views / Site settings / Page default 1`] = `
- -
- - -
-
-
-
- -
- - -
-
-
-
- -
- - -
-
-
-
- City + Company
+
@@ -135116,7 +135686,7 @@ exports[`Storyshots Views / Site settings / Page default 1`] = ` class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id" data-shrink="true" > - ZIP / Postal code + Address line 1
-
-
-
+
+ +
+ + +
+
+
+
- Country + City +
+
+ +
+
+
+
+
+
+ + +
+
+
+ +
+ + +
+
+
+
-
-
- -
- - -
-

- -
- - -
-
-
-
- -
- - -
-
-
-
- -
- - -
-
-
-
- City + Company
+
@@ -135987,7 +136561,7 @@ exports[`Storyshots Views / Site settings / Page form errors 1`] = ` class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-shrink-id MuiInputLabel-outlined-id MuiFormLabel-filled-id" data-shrink="true" > - ZIP / Postal code + Address line 1
-
-
-
+
+ +
+ + +
+
+
+
- Country + City +
+
+ +
+
+
+
+
+
+ + +
+
+
+ +
+ + +
+
+
+
-
-
- -
- - -
-

- -
- - -
-
-
-
- -
- - -
-
-
-
- -
- - -
-
-
-
- City + Company
@@ -136852,6 +137423,9 @@ exports[`Storyshots Views / Site settings / Page loading 1`] = `
+
@@ -136859,7 +137433,7 @@ exports[`Storyshots Views / Site settings / Page loading 1`] = ` class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id" data-shrink="false" > - ZIP / Postal code + Address line 1
@@ -136888,15 +137462,50 @@ exports[`Storyshots Views / Site settings / Page loading 1`] = `
-
-
-
+
+ +
+ + +
+
+
+
- Country + City +
+
+ +
+
+
+
+
+
+ + +
+
+
+ +
+ + +
+
+
+
@@ -136962,7 +137693,7 @@ exports[`Storyshots Views / Site settings / Page loading 1`] = ` class="MuiFormLabel-root-id MuiInputLabel-root-id MuiInputLabel-formControl-id MuiInputLabel-animated-id MuiInputLabel-outlined-id MuiFormLabel-disabled-id MuiInputLabel-disabled-id" data-shrink="false" > - Country area + Phone
@@ -136992,45 +137723,6 @@ exports[`Storyshots Views / Site settings / Page loading 1`] = `
-
-
- -
- - -
-

`; +exports[`Storyshots Views / Warehouses / Create warehouse default 1`] = ` +
+
+
+
+
+ Create Warehouse +
+
+
+
+
+
+
+
+
+ + General Informations + +
+
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+ + Address Information + +
+
+
+
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+
+
+
+
+ + +
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Warehouses / Create warehouse form errors 1`] = ` +
+
+
+
+
+ Create Warehouse +
+
+
+
+
+
+
+
+
+ + General Informations + +
+
+
+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+
+
+ + Address Information + +
+
+
+
+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+
+
+ + +

+ Generic form error +

+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Warehouses / Create warehouse loading 1`] = ` +
+
+
+
+
+ Create Warehouse +
+
+
+
+
+
+
+
+
+ + General Informations + +
+
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+ + Address Information + +
+
+
+
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+
+
+
+
+ + +
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Warehouses / Warehouse details default 1`] = ` +
+
+
+
+
+ C our wares +
+
+
+
+
+
+
+
+
+ + General Informations + +
+
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+ + Address Information + +
+
+
+
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+
+
+
+
+ + +
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+
+
+ + Shipping Zones + +
+
+ +
+
+
+ +
+`; + +exports[`Storyshots Views / Warehouses / Warehouse details form errors 1`] = ` +
+
+
+
+
+ C our wares +
+
+
+
+
+
+
+
+
+ + General Informations + +
+
+
+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+
+
+ + Address Information + +
+
+
+
+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+
+
+ + +

+ Generic form error +

+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+ +
+ + +
+

+ Generic form error +

+
+
+
+
+
+
+
+
+ + Shipping Zones + +
+
+ +
+
+
+ +
+`; + +exports[`Storyshots Views / Warehouses / Warehouse details loading 1`] = ` +
+
+
+
+
+ + ‌ + +
+
+
+
+
+
+
+
+
+ + General Informations + +
+
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+ + Address Information + +
+
+
+
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+
+
+
+
+ + +
+
+
+ +
+ + +
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+
+
+ + Shipping Zones + +
+
+
+
+
+ + ‌ + +
+
+
+
+
+ +
+`; + +exports[`Storyshots Views / Warehouses / Warehouse list default 1`] = ` +
+
+
+
+ Warehouses +
+
+
+ +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ Name +
+ +
+
+ Shipping Zones + + Actions +
+ C our wares + + Europe, Oceania, Asia, Americas, Africa + +
+ + +
+
+ Be stocked + + Europe, Oceania, Asia, Americas, Africa + +
+ + +
+
+ A Warehouse + + Europe, Oceania, Asia, Americas, Africa + +
+ + +
+
+ Darkwares + + Europe, Oceania, Asia, Americas, Africa + +
+ + +
+
+
+
+
+
+`; + +exports[`Storyshots Views / Warehouses / Warehouse list loading 1`] = ` +
+
+
+
+ Warehouses +
+
+
+ +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
+
+
+ Name +
+ +
+
+ Shipping Zones + + Actions +
+ + ‌ + + + + ‌ + + +
+ + +
+
+
+
+
+
+`; + +exports[`Storyshots Views / Warehouses / Warehouse list no data 1`] = ` +
+
+
+
+ Warehouses +
+
+
+ +
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + +
+
+
+ Name +
+ +
+
+ Shipping Zones + + Actions +
+ No warehouses found +
+
+
+
+
+`; + exports[`Storyshots Views / Webhooks / Create webhook default 1`] = `