I've noticed that it is not possible to update the...
# suitecommerce
v
I've noticed that it is not possible to update the price of an item/line via the updateLine() method of the Cart component from the Frontend Extensibility API (https://system.netsuite.com/help/helpcenter/en_US/APIs/SuiteCommerce/Extensibility/Frontend/Cart.html#updateLine) We have built solutions in the past which involved using Scriptable Cart to tackle such scenarios. But will Extensibility API ever support such a feature? (updating item/line prices via updateLine() or a similar method)
s
By 'update' the price, you mean forcibly override it? No, I don't ever see us letting frontend users do that. That would be pretty crazy
v
Then scriptable cart is the best way to do it currently right?
s
Yes
v
Okay, thanks Steve. 🙂
d
Do you know if we're likely to see setShipping cost/method options Steve? We've had to resort to adding shipping service items for a custom shipping calculator.
s
setShipMethod() should be in 21.1 🙂
👍 1
setShipCost() probably never (see above) 🙃
It's very unlikely we will ever add ways for frontend scripts to override costs and prices