@pisell/pisellos 0.0.295 → 0.0.296
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -485,7 +485,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
485
485
|
bookings === null || bookings === void 0 || bookings.forEach(function (item) {
|
|
486
486
|
var deposit = getProductDeposit({
|
|
487
487
|
cartItem: {
|
|
488
|
-
total: item.product.price * item.num
|
|
488
|
+
total: item.product.price * (item.product.num || 1)
|
|
489
489
|
},
|
|
490
490
|
product: item.product,
|
|
491
491
|
bundle: item.bundle,
|
|
@@ -282,7 +282,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
282
282
|
bookings == null ? void 0 : bookings.forEach((item) => {
|
|
283
283
|
const deposit = (0, import_utils2.getProductDeposit)({
|
|
284
284
|
cartItem: {
|
|
285
|
-
total: item.product.price * item.num
|
|
285
|
+
total: item.product.price * (item.product.num || 1)
|
|
286
286
|
},
|
|
287
287
|
product: item.product,
|
|
288
288
|
bundle: item.bundle,
|