diff --git a/packages/admin/dashboard/src/routes/products/product-create/constants.ts b/packages/admin/dashboard/src/routes/products/product-create/constants.ts index 519396ca14cbd..2b6af9ff56365 100644 --- a/packages/admin/dashboard/src/routes/products/product-create/constants.ts +++ b/packages/admin/dashboard/src/routes/products/product-create/constants.ts @@ -25,7 +25,6 @@ const ProductCreateVariantSchema = z.object({ weight: optionalInt, material: z.string().optional(), origin_country: z.string().optional(), - custom_title: z.string().optional(), sku: z.string().optional(), manage_inventory: z.boolean().optional(), allow_backorder: z.boolean().optional(), diff --git a/packages/admin/dashboard/src/routes/products/product-create/utils.ts b/packages/admin/dashboard/src/routes/products/product-create/utils.ts index e351f426dd2d7..4341e18f71de5 100644 --- a/packages/admin/dashboard/src/routes/products/product-create/utils.ts +++ b/packages/admin/dashboard/src/routes/products/product-create/utils.ts @@ -53,8 +53,7 @@ export const normalizeVariants = ( regionsCurrencyMap: Record ) => { return variants.map((variant) => ({ - title: - variant.custom_title || Object.values(variant.options || {}).join(" / "), + title: variant.title || Object.values(variant.options || {}).join(" / "), options: variant.options, sku: variant.sku || undefined, manage_inventory: !!variant.manage_inventory,