@pisell/pisellos 3.0.19 → 3.0.20
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.
|
@@ -302,7 +302,7 @@ export var RulesModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
302
302
|
})));
|
|
303
303
|
} else {
|
|
304
304
|
processedProductsMap.set(product._id, _this3.hooks.setProduct(originProduct, _objectSpread(_objectSpread({}, isManualDiscount ? {} : {
|
|
305
|
-
total: product.
|
|
305
|
+
total: product.total,
|
|
306
306
|
price: product.price
|
|
307
307
|
}), {}, {
|
|
308
308
|
discount_list: []
|
|
@@ -206,7 +206,7 @@ var RulesModule = class extends import_BaseModule.BaseModule {
|
|
|
206
206
|
product._id,
|
|
207
207
|
this.hooks.setProduct(originProduct, {
|
|
208
208
|
...isManualDiscount ? {} : {
|
|
209
|
-
total: product.
|
|
209
|
+
total: product.total,
|
|
210
210
|
price: product.price
|
|
211
211
|
},
|
|
212
212
|
discount_list: []
|