Hello. With SuiteCommerce (standard), is there a w...
# suitecommerce
f
Hello. With SuiteCommerce (standard), is there a way to get a list of files/views/functions in the browser for debugging purposes? I'd like to _.wrap something (the add to cart button the PDP, in this case), but I don't know how to reference it. The article at https://developers.suitecommerce.com/troubleshooting-with-your-browsers-developer-tools.html suggests using requirejs._defined, but that may be out-of-date.
g
You can get the js modules with the SC variable like this
SC.ENVIRONMENT.JS_MODULE_NAMES
f
Ah that's helpful, thanks!
🙌 1