@nuskin/ns-shop 6.7.3 → 6.7.4
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/cart/cartService.js +1 -1
package/package.json
CHANGED
package/src/cart/cartService.js
CHANGED
|
@@ -487,7 +487,7 @@ async function getAddToCartQty(product) {
|
|
|
487
487
|
retVal = product.maxQuantity - cartQty;
|
|
488
488
|
if (product.isExclusive) {
|
|
489
489
|
try {
|
|
490
|
-
const qual = QualificationService.getQualification(product.sku)
|
|
490
|
+
const qual = await QualificationService.getQualification(product.sku)
|
|
491
491
|
const productIdentifier = qual.productId || qual.sku;
|
|
492
492
|
cartQty = await getBaseSkuCartQuantity(productIdentifier)
|
|
493
493
|
retVal = product.maxQuantity - cartQty;
|