@nuskin/ns-product-lib 2.8.0-cx24-3684.5 → 2.8.0-cx24-3684.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/product.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [2.8.0-cx24-3684.6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.8.0-cx24-3684.5...v2.8.0-cx24-3684.6) (2023-04-19)
|
2
|
+
|
3
|
+
|
4
|
+
### Fix
|
5
|
+
|
6
|
+
* remove price as default for setPrice promotion (#CX24-3684) ([2598be7](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/2598be77b40fff57344c832bac65f8271c7f5958)), closes [#CX24-3684](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-3684)
|
7
|
+
|
1
8
|
# [2.8.0-cx24-3684.5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.8.0-cx24-3684.4...v2.8.0-cx24-3684.5) (2023-04-18)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/product.js
CHANGED
@@ -262,7 +262,7 @@ const Product = function (productData) {
|
|
262
262
|
|
263
263
|
if (option && !!option.isEqPromotion) {
|
264
264
|
//retain product.price as original price
|
265
|
-
this.setPrice(this.
|
265
|
+
this.setPrice(this.getPricing(priceType));
|
266
266
|
this.setCv(this.getCvWithType(priceType));
|
267
267
|
this.setPv(this.getPvWithType(priceType));
|
268
268
|
this.priceType = priceType;
|