Hello,
The fallback functions are defined (and added) but the HikaShop cart helper.
But the code which call these function is directly in the HikaShop main javascript file.
var triggers = window.Oby.fireAjax(cart_type+'.updated', {id: cart_id, el: el, product_id: product_id, type: cart_type, resp: resp});
if(triggers !== false && triggers.length > 0)
return true;
if(window.localPage && cart_type == 'cart' && window.localPage.cartRedirect && typeof(window.localPage.cartRedirect) == 'function')
return window.localPage.cartRedirect(cart_id, product_id, resp);
if(window.localPage && cart_type == 'wishlist' && window.localPage.wishlistRedirect && typeof(window.localPage.wishlistRedirect) == 'function')
return window.localPage.wishlistRedirect(cart_id, product_id, resp);
The goal of the fallback is to do something if you do not have the "cart notify" plugin, or another plugin which react to the javascript events.
In order to not let the fallback be processed, your custom JS function must return "true" in order to indicate that you did something
Regards,