@nuskin/product-components 3.17.7 → 3.17.8-cx24-7079.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 +1 -1
- package/components/NsProductOffer.vue +9 -1
- package/docs/CHANGELOG.md +1 -1
- package/package.json +1 -1
package/.releaserc
CHANGED
|
@@ -796,6 +796,14 @@ export default {
|
|
|
796
796
|
return;
|
|
797
797
|
}
|
|
798
798
|
|
|
799
|
+
let options = {
|
|
800
|
+
add: {
|
|
801
|
+
item: {
|
|
802
|
+
qty: this.totalProductQuantity
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
};
|
|
806
|
+
window.sessionStorage.setItem("nstoast-allowed", "true");
|
|
799
807
|
let checkoutProducts = [];
|
|
800
808
|
const equinoxMarketsConfig = getCachedConfiguration("Equinox_Markets");
|
|
801
809
|
const countryCode = equinoxMarketsConfig.country_code;
|
|
@@ -807,7 +815,7 @@ export default {
|
|
|
807
815
|
selectedQuantityArr
|
|
808
816
|
)
|
|
809
817
|
.then(() => {
|
|
810
|
-
events.publish(events.shop.ADD_TO_CART);
|
|
818
|
+
events.publish(events.shop.ADD_TO_CART, options);
|
|
811
819
|
})
|
|
812
820
|
.catch(err => {
|
|
813
821
|
console.error(`Failed to add ${validSkus} with Error: ${err} `);
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [3.17.
|
|
1
|
+
## [3.17.8-cx24-7079.2](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.17.8-cx24-7079.1...v3.17.8-cx24-7079.2) (2024-08-13)
|