Hello everyone, How do I send the body field to th...
# suitecommerce
l
Hello everyone, How do I send the body field to the sublist changed event? I would like to add the "custbody" field value every time I add an item to the cart. How can I do this with an extension? Note that: I am using Scriptable CART and Checkout functionality which means I can get the context on sublist change event (Recal).
b
The Cart Component has
afterAddLine
and
afterUpdateLine
events you can listen for. It also has the
setTransactionBodyField
method. https://system.netsuite.com/help/helpcenter/en_US/APIs/SuiteCommerce/Extensibility/Frontend/Cart.html#methods
l
@Bryce Krah But I don't have access to these methods, I am using older version of SCA..
b
Then just use the liveorder model