PDP reusable Extension for other accounts.

Requirement:   The requirement is to add custom item fields in the inventory item for Key Features for the item in the item record.  Add a new checkbox field and a text field which will a hyperlink and when that checkbox is checked we’ve to show a pdf file for download.   In this change, there’ll be… Continue reading PDP reusable Extension for other accounts.

How to deploy an extension by changing its version.

If we want to update an extension then while deploying it will be better practice to change its version after the update. For changing the version while deploying go to the Manifest.json file and there you can change the version, without changing the Name and Fantasy name of the extension. For example, If there is… Continue reading How to deploy an extension by changing its version.

Checkout the extension and its functionality description.

Requirement:   The requirement is to add a custom address area like in the standard SCA website we’ve to make changes to the Item cart summary section.  Changing the PayPal text on the Payment page.  Adding a popup to the Edit button while we’re clicking on it it’ll prevent us to edit the address and it’ll… Continue reading Checkout the extension and its functionality description.

While using the same extension for different themes.

While using the same extension for different themes, try to avoid the use of color values as static (hex decimal values). Instead, we can use standard variables which are defined in the theme. Eg: $sc-color-primary $sc-color-primary-dark So we can use these types of variables which is defined under the theme under the module “BaseSassStyles“. It… Continue reading While using the same extension for different themes.

Error: No such file or directory, stat ‘DeployDistribution/*’

The error happens in the terminal when deploying the theme/Extension. Method 1: In the terminal run, command nvm install 12.21.0 then run command gulp theme:deploy ( if the error appears in the theme ) gulp extension:deploy (if the error appears in the extension) Method 2: delete node-modules folder run command npm cache clean –force run command npm install run… Continue reading Error: No such file or directory, stat ‘DeployDistribution/*’

Type Error: Cannot read the property ‘files’ of undefined

The error happens in the terminal when deploying the theme/Extension. The reason for the error message is due to the complex file structure of the theme. gulp theme:deploy and gulp extension:deploy commands use SuiteScript Restlet service requests to upload the theme and extension development files to the NetSuite file cabinet. And, SuiteScript’s governance model limits… Continue reading Type Error: Cannot read the property ‘files’ of undefined

Add New Tab to MyAccount Menu

We can add new tab or menu to the my-account menu tree as shown below.On clicking the subentry the user will redirect to new page. The View and template of the new page can be set