Skip to content

Commit

Permalink
fix(counting): count quantity of items per parcel
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Oct 23, 2024
1 parent 0ad6c4e commit 08f07d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/fulfillment_product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ export class FulfillmentProductService
this.logger.debug('Offer List:', offer_lists);

const goods = query.items.map((good): IItem => ({
sku: `${good.product_id}\t${good.variant_id}`,
desc: `${good.product_id}\t${good.variant_id}`,
quantity: good.quantity,
weight: good.package?.weight_in_kg ?? this.throwStatusCode(
Expand Down

0 comments on commit 08f07d3

Please sign in to comment.