@nuskin/ns-product-lib 2.5.0-cx24-2179.2.5 → 2.5.0-cx24-2179.2.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.5.0-cx24-2179.2.6](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.5...v2.5.0-cx24-2179.2.6) (2022-12-05)
|
2
|
+
|
3
|
+
|
4
|
+
### New
|
5
|
+
|
6
|
+
* added eq promoion bypass for setPriceAndPvFromType v4 (#CX24-2179) ([abcdd30](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/abcdd30223107786c0c2f9d1a8946053ef6dcef5)), closes [#CX24-2179](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/issues/CX24-2179)
|
7
|
+
|
1
8
|
# [2.5.0-cx24-2179.2.5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.5.0-cx24-2179.2.4...v2.5.0-cx24-2179.2.5) (2022-12-05)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/product.js
CHANGED
@@ -335,7 +335,7 @@ const Product = function(productData) {
|
|
335
335
|
let variant = this.getVariant(productStatusSku);
|
336
336
|
|
337
337
|
if (variant) {
|
338
|
-
if (variant.addPricingFromStatus(productStatus, priceType)) {
|
338
|
+
if (variant.addPricingFromStatus(productStatus, priceType, option)) {
|
339
339
|
variant.setMarketAttributes(productStatus);
|
340
340
|
updateBaseRanges(this, variant);
|
341
341
|
modified = true;
|