@pisell/pisellos 0.0.158 → 0.0.159
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.
|
@@ -458,7 +458,7 @@ export var RulesModule = /*#__PURE__*/function (_BaseModule) {
|
|
|
458
458
|
options: product.options
|
|
459
459
|
}),
|
|
460
460
|
variant: variant,
|
|
461
|
-
original_price: new Decimal(
|
|
461
|
+
original_price: new Decimal(product.price).toNumber(),
|
|
462
462
|
total: getProductTotalPrice({
|
|
463
463
|
product: {
|
|
464
464
|
price: targetProductPrice
|
|
@@ -329,7 +329,7 @@ var RulesModule = class extends import_BaseModule.BaseModule {
|
|
|
329
329
|
options: product.options
|
|
330
330
|
}),
|
|
331
331
|
variant,
|
|
332
|
-
original_price: new import_decimal.default(
|
|
332
|
+
original_price: new import_decimal.default(product.price).toNumber(),
|
|
333
333
|
total: (0, import_utils2.getProductTotalPrice)({
|
|
334
334
|
product: {
|
|
335
335
|
price: targetProductPrice
|