@pisell/pisellos 0.0.287 → 0.0.288
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.
|
@@ -536,7 +536,7 @@ export var RulesModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
536
536
|
} else {
|
|
537
537
|
arr.push(_this3.hooks.setProduct(originProduct, {
|
|
538
538
|
discount_list: [discountDetail],
|
|
539
|
-
_id: product._id.split('___')[0] + "___" + _selectedDiscount.id + index,
|
|
539
|
+
_id: product._id.split('___')[0] + "___" + _selectedDiscount.id + "___" + index,
|
|
540
540
|
price: _selectedDiscount.tag === 'good_pass' ? 0 : product.price,
|
|
541
541
|
quantity: isNeedSplit ? 1 : product.quantity,
|
|
542
542
|
total: targetProductTotal,
|
|
@@ -379,7 +379,7 @@ var RulesModule = class extends import_BaseModule.BaseModule {
|
|
|
379
379
|
} else {
|
|
380
380
|
arr.push(this.hooks.setProduct(originProduct, {
|
|
381
381
|
discount_list: [discountDetail],
|
|
382
|
-
_id: product._id.split("___")[0] + "___" + selectedDiscount2.id + index,
|
|
382
|
+
_id: product._id.split("___")[0] + "___" + selectedDiscount2.id + "___" + index,
|
|
383
383
|
price: selectedDiscount2.tag === "good_pass" ? 0 : product.price,
|
|
384
384
|
quantity: isNeedSplit ? 1 : product.quantity,
|
|
385
385
|
total: targetProductTotal,
|