Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Remove items or clear cart
Does anyone know how to use a WSDK-style call to either clear the current shopping cart or remove individual line items? I looked at the code generated by the shopping cart itself for its "Remove from cart" button and all this does is to set the quantity on the form to be zero and post it back (onclick="document.forms['cart'].elements['item78772set66142'].value='0'; document.forms['cart'].submit()") which does not seem particularly developer-friendly.
If there is no WSDK-style way of removing items or clearing the cart, does anyone know where the "set66142" part of this item identifier comes from (if we knew this then potentially we could auto-generate script to remove all items in the cart ourselves)?