Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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?
0