@nuskin/ns-product-lib 2.7.1-cx24-3879.1 → 2.7.1-cx24-3879.2

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.7.1-cx24-3879.2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.7.1-cx24-3879.1...v2.7.1-cx24-3879.2) (2023-04-13)
2
+
3
+
4
+ ### Fix
5
+
6
+ * Payload for subscription products are missing when added to cart from MySite homepage ([20b0ed2](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/20b0ed2661b4d213147cef9e77d268b167b49421))
7
+
1
8
  ## [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
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-product-lib",
3
- "version": "2.7.1-cx24-3879.1",
3
+ "version": "2.7.1-cx24-3879.2",
4
4
  "description": "This project contains shared Product models and code between the backend and frontend.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/product.js CHANGED
@@ -337,8 +337,8 @@ const Product = function (productData) {
337
337
  return this.addCvWithType(csvKey, productStatus.csv[csvKey]);
338
338
  }, this);
339
339
  }
340
- //only remap the orderTypes for legacy
341
- if(this.equinoxProductId !== "") {
340
+ //only remap the orderTypes for legacy (which we'll know when equinoxProductId is blank)
341
+ if(this.equinoxProductId == "") {
342
342
  this.orderTypes = ProductUtils.mergeOrderTypes(this.orderTypes, productStatus.orderType);
343
343
  }
344
344