Hey guys, I'm trying to find out a straightforward...
# suitecommerce
v
Hey guys, I'm trying to find out a straightforward way to find out which scripts are running on webstore checkout. Mainly the scripts triggering the Scriptable Cart functionality. I believe checking the Sales Order Scripted Record entry should do the trick, but I'm not very sure yet. Can anyone help me with this?
p
@Viraj Shinde For scriptable cart to be running, you need in the website setup, the "Scriptable cart and checkout" ON Two kinds of scripts apply. Scripts on the FORM that is set in "Scriptable Template" (the dropdown in setup website below scriptable cart and checkout checkbox) - In my experience this is uncommon to see nowadays - Scripts deployed as client scripts on the sales order record (you can go through scripts -> Scripted records->Sales Order - >client tab).
v
Thank you @PabloZ . That helps a lot.
p
Keep an eye on deployments for client scripts, because sometimes scripts are purposefully not deployed to all roles. It's a good tactic to avoid an scriptable cart to be executed on the web.
v
Great tip, I'll take a note of that.