feat(core-flows,types,order,cart): assign tax lines only to regular products (#11994)

what:

- assign tax lines only to regular products
This commit is contained in:
Riqwan Thamir
2025-03-26 23:26:34 +01:00
committed by GitHub
parent e950e2b2d2
commit 1f8fab3636
19 changed files with 387 additions and 143 deletions

View File

@@ -820,6 +820,7 @@ medusaIntegrationTestRunner({
deleted_at: null,
id: expect.any(String),
is_discountable: false,
is_giftcard: false,
is_tax_inclusive: false,
is_custom_price: true,
metadata: {
@@ -1179,6 +1180,7 @@ medusaIntegrationTestRunner({
// Custom line item
id: expect.any(String),
is_discountable: false,
is_giftcard: false,
is_tax_inclusive: false,
is_custom_price: true,
quantity: 1,
@@ -1415,6 +1417,7 @@ medusaIntegrationTestRunner({
deleted_at: null,
id: expect.any(String),
is_discountable: false,
is_giftcard: false,
is_tax_inclusive: false,
is_custom_price: true,
metadata: {
@@ -1876,6 +1879,7 @@ medusaIntegrationTestRunner({
deleted_at: null,
id: expect.any(String),
is_discountable: false,
is_giftcard: false,
is_tax_inclusive: false,
is_custom_price: true,
metadata: {
@@ -1937,6 +1941,7 @@ medusaIntegrationTestRunner({
deleted_at: null,
id: expect.any(String),
is_discountable: false,
is_giftcard: false,
is_tax_inclusive: false,
is_custom_price: true,
metadata: {

View File

@@ -172,6 +172,7 @@ medusaIntegrationTestRunner({
variant_option_values: null,
requires_shipping: true,
is_discountable: true,
is_giftcard: false,
is_tax_inclusive: false,
raw_compare_at_unit_price: null,
raw_unit_price: {