Hi, I'm trying to pass an option into the cart.add...
# suitecommerce
n
Hi, I'm trying to pass an option into the cart.addLine() method that I can use in scriptable cart. This is what I have
cartModel.addLine({
item :{
internalid: line.get('item').id
},
quantity: line.get('quantity'),
options: [{cartOptionId: 'custcol_list_price', value: line.get('amount')}]
})