Ctrl + Shift + J
for Windows / Cmd + Opt + J
for Mac (in Chrome)Call stop()
to stop execution anytime.
If the coupons don't work, call start
manually with different parameter.
stop();
start('a', 0);
Follow comments here to keep track of what's working.
Make sure you set halt = false
before calling applyCoupon
function.