Hi everyone,
I have a question about Scriptable Cart and would appreciate some advice.
I've recently come across the Scriptable Cart feature, but I don't fully understand the difference between Scriptable Cart and SuiteScript 1.0 Client Scripts. Are they designed for different use cases? Can Client Scripts replace Scriptable Cart in some scenarios?
The documentation mentions:
"When using Scriptable Carts, function calls are made more frequently, which may negatively impact performance."
Does this mean Scriptable Cart is generally not recommended, or is it still the preferred solution in certain situations?
For example, my product prices are currently returned from the item API, but I need to implement custom pricing logic (Price Levels are not sufficient for my requirements). The custom price needs to be displayed when customers browse products and also used when they place orders.
In this case, would Scriptable Cart be a suitable solution, or should I use the Extensibility API with extensions instead?
Is Scriptable Cart considered a legacy approach nowadays?
Thank you for your insights!