I am bit confused about this condition in above co...
# suitecommerce
l
I am bit confused about this condition in above code-
Copy code
if (nlapiGetContext().getExecutionContext() !== 'webstore') {
        return true;
    }
s
Scriptable cart executes on many contexts, not just the web store. By putting some code here like this, you're effectively telling it to only run on the webstore context