From ebef903f3ba104fccb848c8a23453ea2559e5beb Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 26 Feb 2026 17:00:11 -0500 Subject: [PATCH] Switch column order in import --- .../src/components/product-import/config.ts | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) 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",