Skip to content

Commit

Permalink
fix(dashboard): Matching product profile with shipping profile (#11183)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivermrbl authored Jan 27, 2025
1 parent 12b6904 commit 961ad47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export function OrderCreateFulfillmentForm({
form={form}
item={item}
locationId={selectedLocationId}
disabled={isShippingProfileMatching}
disabled={!isShippingProfileMatching}
itemReservedQuantitiesMap={
itemReservedQuantitiesMap
}
Expand Down
5 changes: 5 additions & 0 deletions packages/core/types/src/http/product/admin/entitites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit 961ad47

Please sign in to comment.