Extension permission

After activation of an extension on execution time the execution log will show error of permission.To solve this we need permission for that particular extension. For that take ssp application > extensions> services> Edit servicess.ss file . On subtab permission Check enabled checkbox. Then select ‘execute as role’ as the role needed.

SC Grid Order

The Grid Order extension lets you set up matrix items to display purchasing options in a table on the Product Details page (PDP). When you activate this extension, you configure items to use Grid Order. These items display purchasing options in a tabular format in place of the standard experience. This view is ideal for… Continue reading SC Grid Order

Points To Be Noted While Passing a Boolean Variable To Backend In An Extension

While working on any SCA extension having both javascript and suite script module, if we are passing a boolean value(true/false) to the suite script module there is a chance for changing the variable type to string. So if you are checking any condition with that variable make sure to check the type of the variable… Continue reading Points To Be Noted While Passing a Boolean Variable To Backend In An Extension

Resolve Could Not Download All the Extension Files Error When Activating Extension

Scenario User may encounter a “Could not download all the extension files” error when trying to activate extension. This happen when some modules failed to be completely fetch and is missing under the workspace folder on your developer environment. Solution Assign SCDeployer role to employee record Open a command line or terminal Access the top-level… Continue reading Resolve Could Not Download All the Extension Files Error When Activating Extension

Code for generating Unique ID Using timestamp

We can generate unique IDs using the following Java script code. We can use this code for requirement which needs a unique value to be generated every time or when a conditions satifies. And there are Random ID generating code are available but here we are using current date and time values to generate unique… Continue reading Code for generating Unique ID Using timestamp

Some of the key considerations before creating an extension in SCA

1. Provide a proper name and description for the extension. 2. Select all sections (shopping, my account, checkout) if required. Otherwise, select the required option based on the requirement. 3. Select only the required files. If you accidentally select any unwanted files while creating the extension, remove the folder after creating the extension. eg: Here… Continue reading Some of the key considerations before creating an extension in SCA