Browse Source

fix(core): Fix hydration of product variant prices

Michael Bromley 1 year ago
parent
commit
7adb1158e0

+ 1 - 0
packages/core/src/service/helpers/entity-hydrator/entity-hydrator.service.ts

@@ -234,6 +234,7 @@ export class EntityHydrator {
             const entityType = this.getRelationEntityTypeAtPath(target, relation);
             if (entityType === ProductVariant) {
                 relationsToAdd.push([relation, 'taxCategory'].join('.'));
+                relationsToAdd.push([relation, 'productVariantPrices'].join('.'));
             }
         }
         return relationsToAdd;