I am bit confused about this condition in above code-
Copy code
if (nlapiGetContext().getExecutionContext() !== 'webstore') {
return true;
}
s
Steve Goldberg
05/10/2024, 9:29 AM
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