@nuskin/ns-product-lib 2.6.1-cx24-337701.14 → 2.6.1-cx24-337701.15
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/productData.js +7 -7
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [2.6.1-cx24-337701.15](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.1-cx24-337701.14...v2.6.1-cx24-337701.15) (2023-03-21)
|
2
|
+
|
3
|
+
|
4
|
+
### Fix
|
5
|
+
|
6
|
+
* Show dropdown for variants ([8edac62](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/commit/8edac62b88fe058fe232e9c8c9da557351c10338))
|
7
|
+
|
1
8
|
## [2.6.1-cx24-337701.14](https://code.tls.nuskin.io/ns-am/product/js-libs/ns-product-lib/compare/v2.6.1-cx24-337701.13...v2.6.1-cx24-337701.14) (2023-03-21)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/productData.js
CHANGED
@@ -425,13 +425,13 @@ const ProductData = {
|
|
425
425
|
"priceType": "WRTL",
|
426
426
|
"price": discountedPrice,
|
427
427
|
"priceMap": {
|
428
|
-
"WRTL": productPrice,
|
429
|
-
"WADW-WRTL": product.priceFacets["Regular Price"],
|
430
|
-
"WADR": product.priceFacets["Regular Price"],
|
431
|
-
"RTL": product.priceFacets["Regular Price"],
|
432
|
-
"WADW": product.priceFacets["Wholesale Price"],
|
433
|
-
"WHL": product.priceFacets["Wholesale Price"],
|
434
|
-
"WWHL": product.priceFacets["Wholesale Price"]
|
428
|
+
"WRTL": parseInt(productPrice),
|
429
|
+
"WADW-WRTL": parseInt(product.priceFacets["Regular Price"]),
|
430
|
+
"WADR": parseInt(product.priceFacets["Regular Price"]),
|
431
|
+
"RTL": parseInt(product.priceFacets["Regular Price"]),
|
432
|
+
"WADW": parseInt(product.priceFacets["Wholesale Price"]),
|
433
|
+
"WHL": parseInt(product.priceFacets["Wholesale Price"]),
|
434
|
+
"WWHL": parseInt(product.priceFacets["Wholesale Price"])
|
435
435
|
},
|
436
436
|
"cvMap": {
|
437
437
|
"WWHL": (product.priceFacets.CV) ? product.priceFacets.CV : '',
|