fix(core-flows): fix update tax lines to apply tax rule by product type (#13202)
* test(draft-order): add draft order creation test with tax application by product type * fix: add `product_type.id` and `items.product_type_id` fields to order utilities --------- Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
@@ -11,6 +11,7 @@ export const productVariantsFields = [
|
||||
"product.subtitle",
|
||||
"product.thumbnail",
|
||||
"product.type.value",
|
||||
"product.type.id",
|
||||
"product.collection.title",
|
||||
"product.handle",
|
||||
"calculated_price.*",
|
||||
|
||||
@@ -24,6 +24,7 @@ const completeOrderFields = [
|
||||
"items.product_description",
|
||||
"items.product_subtitle",
|
||||
"items.product_type",
|
||||
"items.product_type_id",
|
||||
"items.product_collection",
|
||||
"items.product_handle",
|
||||
"items.variant_sku",
|
||||
@@ -107,6 +108,7 @@ const lineItemFields = [
|
||||
"product_description",
|
||||
"product_subtitle",
|
||||
"product_type",
|
||||
"product_type_id",
|
||||
"product_collection",
|
||||
"product_handle",
|
||||
"variant_sku",
|
||||
|
||||
Reference in New Issue
Block a user