fix(dashboard): Matching product profile with shipping profile (#11183)

This commit is contained in:
Oli Juhl
2025-01-27 18:13:07 +01:00
committed by GitHub
parent 12b69049ef
commit 961ad4723e
2 changed files with 6 additions and 1 deletions

View File

@@ -350,7 +350,7 @@ export function OrderCreateFulfillmentForm({
form={form}
item={item}
locationId={selectedLocationId}
disabled={isShippingProfileMatching}
disabled={!isShippingProfileMatching}
itemReservedQuantitiesMap={
itemReservedQuantitiesMap
}

View File

@@ -5,6 +5,7 @@ import { AdminProductCategory } from "../../product-category"
import { AdminProductTag } from "../../product-tag"
import { AdminProductType } from "../../product-type"
import { AdminSalesChannel } from "../../sales-channel"
import { AdminShippingProfile } from "../../shipping-profile"
import {
BaseProduct,
BaseProductImage,
@@ -86,6 +87,10 @@ export interface AdminProduct
* The sales channels that the product is available in.
*/
sales_channels?: AdminSalesChannel[] | null
/**
* The shipping profile that the product is available in.
*/
shipping_profile?: AdminShippingProfile | null
/**
* The product's variants.
*/