Is anyone here experienced with SuiteCommerce Standard? A task that should be really simple has been giving me a hard time for over a month. I'm basically just trying to cancel the 'addLine' event when a user adds an item to their cart. Netsuite's own documentation and guides states this is easy to do by subscribing to the event using the '.on' property, referring to the event, and returning either an error or a jQuery Deferred Reject object containing an error. The problem is that, when I do either of these, it never refers to my error but rather, SuiteCommerce's default error stating "Sorry, there is a problem with this Item and can not be purchased at this time. Please check back later.".
There isn't an issue with the item as I'm able to add the item properly to the cart when I'm not trying to cancel the event. Anytime I do cancel the event, that error appears and I cannot overwrite it. Anyone have experience with this? I'm all out of options at this point.
Thanks in advance!