I tried to add some alert message
on
addproducttocart_catalog: function (urladd) {
under
public.ajaxcart.js
The alert message wasn't working (and I forget about the alert message eventually), even though I tried to re-load and unload the project and the solution it self.
While debugging, suddenly the alert message that I forgotten suddenly kicked-in.
I don't know how it worked and how it suddenly worked, because on my previous testing the alert message wasn't working at all.
Experts, does any one knew how the functions in public.ajaxcart.js are activated/loaded?
Regards,
Archie