diff --git a/packages/medusa/src/services/product-variant.js b/packages/medusa/src/services/product-variant.js index bf817a7da3..c122f7c044 100644 --- a/packages/medusa/src/services/product-variant.js +++ b/packages/medusa/src/services/product-variant.js @@ -249,7 +249,7 @@ class ProductVariantService extends BaseService { const region = await this.regionService_.retrieve(regionId) // If prices already exist we need to update all prices with the same currency - if (varint.prices.length) { + if (variant.prices.length) { let foundRegion = false const newPrices = variant.prices.map(moneyAmount => { if (moneyAmount.region_id === region._id) {