hello, I am trying scriptable cart. I used the tu...
# suitecommerce
s
hello, I am trying scriptable cart. I used the tutorial from developers.suitecommerce. But I am unable to see the logs. The script I used:
function debug (message)
{ nlapiLogExecution('DEBUG', 'Example Scriptable Cart', message); } function customRecalc () { debug('recalc called!') } function customValidateLine (type) { if (type = 'item') { var itemId = nlapiGetCurrentLineItemValue('item', 'item'); debug('Line validated: ' + itemId); } return true }
e
web store context and make sure you have scriptable cart box checked on setup website.