fix(medusa): Price selection strategy bug with customer groups without customers (#4578)

* change up condition for joining price lists

* add changeset

* naming

* update tests
This commit is contained in:
Philip Korsholm
2023-07-24 11:10:17 +02:00
committed by GitHub
parent a0a041e5c9
commit c9989529ed
8 changed files with 200 additions and 22 deletions

View File

@@ -262,6 +262,12 @@ describe("/admin/products", () => {
product_id: productData.id,
sku: `test-product_filtering_by_variant_id-${i}`,
title: `test-product_filtering_by_variant_id-${i}`,
options: [
{
option_id: "test-product_filtering_by_variant_id-option",
value: `Large-${i}`,
},
],
})
}