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.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
πŸš€

Feature

Date

Almost 2 years ago

Author

Matt Jones

Subscribe to post

Get notified by email when there are changes.