@pisell/pisellos 2.1.15 → 2.1.16
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.
|
@@ -49,5 +49,5 @@ export declare class Product extends BaseModule implements Module {
|
|
|
49
49
|
getCategories(): ProductCategory[];
|
|
50
50
|
setOtherParams(key: string, value: any): void;
|
|
51
51
|
getOtherParams(): any;
|
|
52
|
-
getProductType(): "
|
|
52
|
+
getProductType(): "normal" | "duration" | "session";
|
|
53
53
|
}
|
|
@@ -381,7 +381,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
|
|
|
381
381
|
product_id: item.product.product_id,
|
|
382
382
|
product_variant_id: item.product.product_variant_id,
|
|
383
383
|
quantity: item.product.num,
|
|
384
|
-
selling_price: item.product.
|
|
384
|
+
selling_price: item.product.calculated_selling_price
|
|
385
385
|
};
|
|
386
386
|
})) || [];
|
|
387
387
|
var relationProducts = ((_this$store$currentOr2 = this.store.currentOrder.order_info) === null || _this$store$currentOr2 === void 0 || (_this$store$currentOr2 = _this$store$currentOr2.original_order_data) === null || _this$store$currentOr2 === void 0 || (_this$store$currentOr2 = _this$store$currentOr2.relation_products) === null || _this$store$currentOr2 === void 0 ? void 0 : _this$store$currentOr2.map(function (item) {
|
|
@@ -49,5 +49,5 @@ export declare class Product extends BaseModule implements Module {
|
|
|
49
49
|
getCategories(): ProductCategory[];
|
|
50
50
|
setOtherParams(key: string, value: any): void;
|
|
51
51
|
getOtherParams(): any;
|
|
52
|
-
getProductType(): "
|
|
52
|
+
getProductType(): "normal" | "duration" | "session";
|
|
53
53
|
}
|
|
@@ -207,7 +207,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
|
|
|
207
207
|
product_id: item.product.product_id,
|
|
208
208
|
product_variant_id: item.product.product_variant_id,
|
|
209
209
|
quantity: item.product.num,
|
|
210
|
-
selling_price: item.product.
|
|
210
|
+
selling_price: item.product.calculated_selling_price
|
|
211
211
|
})
|
|
212
212
|
)) || [];
|
|
213
213
|
const relationProducts = ((_e = (_d = (_c = this.store.currentOrder.order_info) == null ? void 0 : _c.original_order_data) == null ? void 0 : _d.relation_products) == null ? void 0 : _e.map(
|