@nuskin/product-components 3.17.13 → 3.17.14

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.
@@ -796,18 +796,27 @@ export default {
796
796
  return;
797
797
  }
798
798
 
799
+ let options = {
800
+ add: {
801
+ item: {
802
+ qty: this.totalProductQuantity
803
+ }
804
+ }
805
+ };
806
+
799
807
  let checkoutProducts = [];
800
808
  const equinoxMarketsConfig = getCachedConfiguration("Equinox_Markets");
801
809
  const countryCode = equinoxMarketsConfig.country_code;
802
810
 
803
811
  if (equinoxMarketsConfig.active) {
812
+ window.sessionStorage.setItem("nstoast-allowed", "true");
804
813
  EquinoxCartService.addBundleToEquinoxCart(
805
814
  validSkus,
806
815
  this.products,
807
816
  selectedQuantityArr
808
817
  )
809
818
  .then(() => {
810
- events.publish(events.shop.ADD_TO_CART);
819
+ events.publish(events.shop.ADD_TO_CART, options);
811
820
  })
812
821
  .catch(err => {
813
822
  console.error(`Failed to add ${validSkus} with Error: ${err} `);
package/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## [3.17.13](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.12...v3.17.13) (2024-09-03)
1
+ ## [3.17.14](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.13...v3.17.14) (2024-09-06)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.17.13",
3
+ "version": "3.17.14",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -30,7 +30,7 @@
30
30
  "@nuskin/ns-icon": "^2.12.0",
31
31
  "@nuskin/ns-loyalty-web": "1.5.6",
32
32
  "@nuskin/ns-product-lib": "2.19.0",
33
- "@nuskin/ns-shop": "7.0.8",
33
+ "@nuskin/ns-shop": "7.0.10",
34
34
  "@nuskin/product-recommendation": "2.0.1",
35
35
  "axios": "1.6.7",
36
36
  "lodash": "4.17.21",