diff --git a/inventory/src/components/product-import/config.ts b/inventory/src/components/product-import/config.ts index 9955df1..9bcb491 100644 --- a/inventory/src/components/product-import/config.ts +++ b/inventory/src/components/product-import/config.ts @@ -193,18 +193,6 @@ export const BASE_IMPORT_FIELDS = [ fieldType: { type: "input" }, width: 120, }, - { - label: "Weight", - key: "weight", - description: "Product weight (in lbs)", - alternateMatches: ["weight (lbs.)"], - fieldType: { type: "input" }, - width: 100, - validations: [ - { rule: "required", errorMessage: "Required", level: "error" }, - { rule: "regex", value: "^[0-9]*.?[0-9]+$", errorMessage: "Must be a number", level: "error" }, - ], - }, { label: "Length", key: "length", @@ -238,6 +226,18 @@ export const BASE_IMPORT_FIELDS = [ { rule: "regex", value: "^[0-9]*.?[0-9]+$", errorMessage: "Must be a number", level: "error" }, ], }, + { + label: "Weight", + key: "weight", + description: "Product weight (in lbs)", + alternateMatches: ["weight (lbs.)"], + fieldType: { type: "input" }, + width: 100, + validations: [ + { rule: "required", errorMessage: "Required", level: "error" }, + { rule: "regex", value: "^[0-9]*.?[0-9]+$", errorMessage: "Must be a number", level: "error" }, + ], + }, { label: "Shipping Restrictions", key: "ship_restrictions",