@nuskin/ns-product-lib 2.6.0-cx24-3377.3 → 2.6.0-cx24-3377.4
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 +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# [2.6.0-cx24-3377.4](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.0-cx24-3377.3...v2.6.0-cx24-3377.4) (2023-03-09)
|
2
|
+
|
3
|
+
|
4
|
+
### New
|
5
|
+
|
6
|
+
* Fix multiple variants not loading properly (CX24-3377) ([1b37ed5](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/1b37ed513dbd9a8751b8378d5133582b88fdcb97))
|
7
|
+
* Fix multiple variants not loading properly (CX24-3377) ([ae2c91f](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/ae2c91fa98838e60745009e4b66b8c728fad58b8))
|
8
|
+
|
1
9
|
# [2.6.0-cx24-3377.3](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.0-cx24-3377.2...v2.6.0-cx24-3377.3) (2023-03-08)
|
2
10
|
|
3
11
|
|
package/package.json
CHANGED
package/src/product.js
CHANGED
@@ -428,7 +428,7 @@ const Product = function (productData) {
|
|
428
428
|
};
|
429
429
|
|
430
430
|
this.isBase = function () {
|
431
|
-
if (this.equinoxProductId != "") {
|
431
|
+
if (this.equinoxProductId != "" && this.sku == this.variants[0].sku) {
|
432
432
|
return !!this.variants;
|
433
433
|
}
|
434
434
|
return this.sku.substring(2, 4) === "55";
|