Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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)?