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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Can we add a discount item to the cart via scripting without setting a promocode?
For web orders, can we add a discount item to the cart via scripting without a promocode?
I got the following error when trying to add a discount item to the cart via scriptable cart.
Invalid item reference key xxx for promocode <NULL>.
I am trying to add a discount item to the cart based on a custom field in the item record.
The logic is that if there is a discount item on the custom field on the item record, it should get added to the cart.
0