eCommerce Module - Discount Code Added Alert
The secartdiscountcode JS function allows you to pass a custom success callback function, but whether or not you pass one, it still uses a default JavaScript alert to tell the user if the code is valid.
That alert should either be moved inside the default callback function or controlled via a new parameter, so that it is possible to disable it if you are informing users of success with a custom function.
Log in to comment and vote
Comments2
Matt Walter
Jan 22, 2025
Released →
https://docs.siteglide.com/en/developer-tools/release-notes/module-ecommerce-changelog
Mar 26, 2024
In QC