@nuskin/ns-product-lib 2.11.0-cx24-5092.21 → 2.11.0-cx24-5092.22
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/productGraphQL.js +6 -5
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [2.11.0-cx24-5092.22](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.11.0-cx24-5092.21...v2.11.0-cx24-5092.22) (2023-09-15)
|
2
|
+
|
3
|
+
|
4
|
+
### New
|
5
|
+
|
6
|
+
* Moving from AEM to CS for EQ markets ([85f3d2d](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/85f3d2d724c80b9afefd5d4af6fc9fd4ab5abc32))
|
7
|
+
|
1
8
|
# [2.11.0-cx24-5092.21](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.11.0-cx24-5092.20...v2.11.0-cx24-5092.21) (2023-09-14)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/productGraphQL.js
CHANGED
@@ -108,10 +108,10 @@ const ProductGraphQL = {
|
|
108
108
|
"language": locale,
|
109
109
|
"shortDescr": response.variants[0].description,
|
110
110
|
"longDescr": response.variants[0].productDetails.description,
|
111
|
-
"fullImage": response.productImages[0].url,
|
112
|
-
"imageAltText": response.productImages[0].alt,
|
111
|
+
"fullImage": response.variants[0].productImages[0].url,
|
112
|
+
"imageAltText": response.variants[0].productImages[0].alt,
|
113
113
|
|
114
|
-
"thumbnail": response.productImages[0].thumbnail,
|
114
|
+
"thumbnail": response.variants[0].productImages[0].thumbnail,
|
115
115
|
"ingredients": response.variants[0].ingredients,
|
116
116
|
"benefits": response.variants[0].benefits,
|
117
117
|
"usage": response.variants[0].usage,
|
@@ -151,9 +151,10 @@ const ProductGraphQL = {
|
|
151
151
|
"size": response.variants[0].size,
|
152
152
|
"status": this.switchStatusFromEquinox(response.variants[0].status.status),
|
153
153
|
"variantType": "Other",
|
154
|
-
"variantDropdownLabel": response.variantSelectLabel ||
|
154
|
+
"variantDropdownLabel": response.variantSelectLabel || '',
|
155
155
|
"variantDropdownPlaceholder": "Select Type",
|
156
|
-
"variantsLabel": response.
|
156
|
+
"variantsLabel": response.variants[0].variantLabel || '',
|
157
|
+
"variants": [],
|
157
158
|
"groupOffer": false,
|
158
159
|
"personalOffer": false,
|
159
160
|
"savedEventName": '',
|