To fix an issue where opening the configuration record would show an unexpected error after sandbox refresh.

Description When we go to commerce -> Website -> Configuration, then choose a website and domain then configure it , and that time an un expected error showing like this Solution Deactivating all extension from the domain. Activate one by one into domain Do proper cache invalidation. Updated the configuration record json file by the… Continue reading To fix an issue where opening the configuration record would show an unexpected error after sandbox refresh.

Switch the image According to Selected Color in PDP page

Switch the image According to Selected Color in PDP page Scenario Some Website has matrix option with colors. Image is added in the gallery under the main image, based on that.When we click on each color the image need to switched and image with that color should be displayed. Solution checked All the website Setup… Continue reading Switch the image According to Selected Color in PDP page

How to defer function of underscorejs

Defers invoking the function until the current call stack has cleared, similar to using setTimeout with a delay of 0. Useful for performing expensive computations or HTML rendering in chunks without blocking the UI thread from updating. If you pass the optional arguments, they will be forwarded on to the function when it is invoked. The example of the aSCA code is… Continue reading How to defer function of underscorejs

Resolve SuiteScript ReferenceError: “session” is not defined

When the Notice (SuiteScript) ReferenceError: “session” is not defined is thrown within NetSuite, the steps mentioned below can be used to rectify the error. Step 1) Navigate to Commerce > Hosting > SSP Applications Step 2) Click the View link of the current SSP Application Step 3) Under the Supported Touch Points subtab, make sure that it is populated with the correct values Step… Continue reading Resolve SuiteScript ReferenceError: “session” is not defined