Discussions
Removing all old items from cart
I'm sort of new to this and am having trouble figuring out how to do something.
My scenario is this: I've build a page on my site where people choose what they want to order and then submit it. The form submits to netsuite adding multiple items at once to the shopping cart. That works great. But if a customer wants to edit what they want to buy, they currently have to remove all items from the cart then go back and re-submit the form.
I'd like to script it to remove all items from the cart before adding the new items to it. That way, they can just hit back, change their order, and resubmit. Is this doable?