@nuskin/product-components 3.17.14 → 3.17.15-brw-4541.1
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/.releaserc +1 -1
- package/docs/CHANGELOG.md +1 -1
- package/mixins/NsProductMixin.js +2 -0
- package/package.json +1 -1
package/.releaserc
CHANGED
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [3.17.
|
|
1
|
+
## [3.17.15-brw-4541.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.14...v3.17.15-brw-4541.1) (2024-09-09)
|
package/mixins/NsProductMixin.js
CHANGED
|
@@ -713,6 +713,8 @@ const NsProductMixin = {
|
|
|
713
713
|
if (this.product.availableQuantity > 0) {
|
|
714
714
|
this.statusMessage = "";
|
|
715
715
|
this.statusMessageKey = "releasedForSale";
|
|
716
|
+
//BRW-4541 -- Only allow to purchase the atpQuantity if backorder date is in the past
|
|
717
|
+
this.product.maxQuantity = this.product.availableQuantity;
|
|
716
718
|
} else {
|
|
717
719
|
this.statusMessage = this.localTranslations.outOfStock;
|
|
718
720
|
this.statusMessageKey = "outOfStock";
|