diff --git a/packages/core/src/service/services/product-variant.service.ts b/packages/core/src/service/services/product-variant.service.ts index 8a8dc69ee5..017e7ce3ff 100644 --- a/packages/core/src/service/services/product-variant.service.ts +++ b/packages/core/src/service/services/product-variant.service.ts @@ -250,7 +250,7 @@ export class ProductVariantService { return this.connection .getRepository(ctx, ProductVariantPrice) .createQueryBuilder('pvp') - .where('pvp.productVariant = :productVariantId', { productVariantId }) + .where('pvp.variant = :productVariantId', { productVariantId }) .andWhere('pvp.channelId = :channelId', { channelId: ctx.channelId }) .getMany(); }