@nuskin/product-components 3.17.14 → 3.17.15-brw-4541.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "branches": [
3
- "master"
3
+ "master", {"name":"BRW-4541", "channel":"prerelease", "prerelease":"brw-4541"}
4
4
  ],
5
5
  "plugins": [
6
6
  "@semantic-release/release-notes-generator",
package/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## [3.17.14](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.13...v3.17.14) (2024-09-06)
1
+ ## [3.17.15-brw-4541.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.15-brw-4541.1...v3.17.15-brw-4541.2) (2024-09-11)
@@ -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.maxQuantity = this.product.availableQuantity;
716
718
  } else {
717
719
  this.statusMessage = this.localTranslations.outOfStock;
718
720
  this.statusMessageKey = "outOfStock";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.17.14",
3
+ "version": "3.17.15-brw-4541.2",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {