Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add taxType prop

Krzysztof Bialoglowiczffcda78ea5f8
diff --git a/saleor/static/dashboard-next/productTypes/queries.ts b/saleor/static/dashboard-next/productTypes/queries.ts
index f3012c73a7..92fb755be1 100644
--- a/saleor/static/dashboard-next/productTypes/queries.ts
+++ b/saleor/static/dashboard-next/productTypes/queries.ts
@@ -29,7 +29,10 @@ export const productTypeFragment = gql`
name
hasVariants
isShippingRequired
- taxRate
+ taxType {
+ description
+ taxCode
+ }
}
`;
@@ -88,6 +91,10 @@ export const productTypeDetailsQuery = gql`
shop {
defaultWeightUnit
}
+ taxTypes {
+ taxCode
+ description
+ }
}
`;
export const TypedProductTypeDetailsQuery = TypedQuery<
@@ -100,6 +107,10 @@ export const productTypeCreateDataQuery = gql`
shop {
defaultWeightUnit
}
+ taxTypes {
+ taxCode
+ description
+ }
}
`;
export const TypedProductTypeCreateDataQuery = TypedQuery<