Add the following to Website > Pages > Website Tools > Code Injection > HEADER.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
Add code from file change unable to add item to cart alert for unselected variants.html to Store Settings > Advanced > Page Header Code Injection for the store page.
Please consider making a donation.
-
2021-05-16
- fix for not replacing message when append false
- bumped version to 0.2d4
-
2021-05-12
- fix MutationObserver bail check
- bumped version to 0.2d3
-
2021-05-12
- reordered some of the bail conditions
- bumped version to 0.2d2
-
2021-05-11
- changed some variable names and a type
- bumped version to 0.2d1
-
2021-05-11
- added support for user defined post processing alert text function
- bumped version to 0.2d0
-
2021-05-11
- moved bail if all variant options selected check
- bumped version to 0.1d2
-
2021-05-08
- initial version