@nuskin/product-components 3.19.0-gms-12518.2 → 3.19.0-gms-12518.3

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.
@@ -929,13 +929,15 @@ export default {
929
929
 
930
930
  if (
931
931
  availability &&
932
- availability.addToCart &&
932
+ (availability.addToCart || availability.addToAdr) &&
933
933
  Object.keys(this.products[sku].data).length >= 1 &&
934
934
  availableQuantity >= 1
935
935
  ) {
936
936
  const selectedQuantity = availability.selectedQuantity || 0;
937
937
  if (selectedQuantity > 0) {
938
- const price = availability.price || 0;
938
+ const price = availability.addToCart
939
+ ? availability.price
940
+ : availability.adrPrice || 0;
939
941
 
940
942
  totalPrice += price * selectedQuantity;
941
943
  this.totalProductQuantity += selectedQuantity;
package/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- # [3.19.0-gms-12518.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.19.0-gms-12518.1...v3.19.0-gms-12518.2) (2025-07-28)
1
+ # [3.19.0-gms-12518.3](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.19.0-gms-12518.2...v3.19.0-gms-12518.3) (2025-08-13)
@@ -1082,7 +1082,7 @@ const NsProductMixin = {
1082
1082
  isBaseSku: this.isBaseSku,
1083
1083
  isVariantSku: this.isVariantSku,
1084
1084
  addToCart: !this.disableAddToCart,
1085
- addToAdr: !this.disableAddToCart,
1085
+ addToAdr: !this.disableAddToAdr,
1086
1086
  selectedQuantity: Number(this.selectedQuantity),
1087
1087
  maxQuantity: this.maxQuantity,
1088
1088
  originalPrice: this.originalPrice,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.19.0-gms-12518.2",
3
+ "version": "3.19.0-gms-12518.3",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {