@nuskin/ns-shop 5.11.12 → 5.11.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/shopContext.js +1 -1
package/package.json
CHANGED
package/src/shopContext.js
CHANGED
|
@@ -41,7 +41,7 @@ let ShopContextService = function() {
|
|
|
41
41
|
// hardcoding months to 7 because only one market differentiates between wadwd and wadw in the cart for now -
|
|
42
42
|
// if that changes will need to make a config
|
|
43
43
|
if (user &&
|
|
44
|
-
AdrService.getAdrMonths(storage.getItem(storage.metadata.ADR_CURRENT_ID))
|
|
44
|
+
AdrService.getAdrMonths(storage.getItem(storage.metadata.ADR_CURRENT_ID)) >= 7 &&
|
|
45
45
|
ConfigService.getMarketConfig().adpManage.EligibleWADWD) {
|
|
46
46
|
priceType = PriceType.WADWD;
|
|
47
47
|
} else {
|