@nuskin/ns-product-lib 2.7.0 → 2.7.1-cx24-3879.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/product.js +5 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## [2.7.1-cx24-3879.1](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.0...v2.7.1-cx24-3879.1) (2023-04-13)
|
2
|
+
|
3
|
+
|
4
|
+
### Fix
|
5
|
+
|
6
|
+
* Payload for subscription products are missing when added to cart from MySite homepage ([7b7ac3b](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/7b7ac3bd7c0b196aa9a7e97e885f7e296ef7e97d))
|
7
|
+
* Payload for subscription products are missing when added to cart from MySite homepage ([d49957f](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/d49957f44d9ce6b6469b0bc94bc8f8050d00f35a))
|
8
|
+
|
1
9
|
# [2.7.0](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.2...v2.7.0) (2023-04-05)
|
2
10
|
|
3
11
|
|
package/package.json
CHANGED
package/src/product.js
CHANGED
@@ -337,7 +337,11 @@ const Product = function (productData) {
|
|
337
337
|
return this.addCvWithType(csvKey, productStatus.csv[csvKey]);
|
338
338
|
}, this);
|
339
339
|
}
|
340
|
-
|
340
|
+
//only remap the orderTypes for legacy
|
341
|
+
if(this.equinoxProductId !== "") {
|
342
|
+
this.orderTypes = ProductUtils.mergeOrderTypes(this.orderTypes, productStatus.orderType);
|
343
|
+
}
|
344
|
+
|
341
345
|
if (productStatus.childSkus) {
|
342
346
|
this.childSkus = productStatus.childSkus;
|
343
347
|
}
|