Saved search for finding file from a folder based on the Return Authorization number using Suitescript 2.x

By using this solution, we can get the file which is stored in file cabinet on the specific folder with the file name of a Return Authorization number or related to any RA details using Suitescript 2.0 Suitescript: // salesOrderResult is an array of return authorization ids try {         var returnAuthorizations… Continue reading Saved search for finding file from a folder based on the Return Authorization number using Suitescript 2.x

How to get matrix child item images from the parent item when no images were available in child item

Description: In the matrix child item the images of the respect child will not be stored if we required to access child item images we need to access from parent item, we can use this solution to get images from parent item. JavaScript: Entry Point: let itemId = self.itemModel.get(“itemid”)// childitem SKU itemId = itemId.replace(new RegExp(“[0-9]”,… Continue reading How to get matrix child item images from the parent item when no images were available in child item

How to add or show the existing child items from the favorites collection in Product List page

We can use this solution to show the added favorites child item in a popup, and we can remove existing favorite matrix child items or add matrix child items from the InModel popup.  Javascript EntryPoint: _.extend(FacetsItemCellView.prototype, {           events: _.extend({}, FacetsItemCellView.prototype.events, {             ‘click [alt=”favourite-icon”]’: ‘plpaddToFav’,… Continue reading How to add or show the existing child items from the favorites collection in Product List page

How add the child items to favorites section by selecting matrix option from PDP and Quick view section

By using this solution, we can add respective child items that are selected by various options in the PDP or Quick View to the favorites, If the matrix option is not selected else if item already in favorites we can show respective validation. JavaScript: Entry point: //PDP page _.extend(ProductDetailsFullView.prototype, {           initialize:… Continue reading How add the child items to favorites section by selecting matrix option from PDP and Quick view section

Adding Universal Event Tracking (UET) tag to SCA website

We can use this following steps for adding the Universal Event Tracking Tag to Suite Commerce website to track the events like adding to card, order placing and other events. Step 1: Create the UET tag or follow the steps in How do I create a UET tag? (microsoft.com) to create. Step 2: Copy the… Continue reading Adding Universal Event Tracking (UET) tag to SCA website

How to create a page from the router which will only available for specific dates

Description: We can create a specific pages from the router method which will only available for the specific dates or period of time specified in date by using this method, if the specified date not satisfied with the condition it will show Page Not Found page. JavaScript: Router.js //MyNewModule.Router.js define(‘Franchise.RegisterPage.Router’,    [      … Continue reading How to create a page from the router which will only available for specific dates

How to compile Dart-Sass syntax errors in the 2023 version or below theme or extension manager tools

Description: NetSuite has upgraded the SASS compiler in the 2024 version, so for activation of theme and extension, we have to convert some JSASS syntax to Dart-SASS syntax so we can activate theme and extension by using this method. To install dart-sass and compile the Dart-Sass syntax error, just follow the below steps Install the… Continue reading How to compile Dart-Sass syntax errors in the 2023 version or below theme or extension manager tools

How can we deduct return processing fee automatically when a customer create a return authorization from the website

Description: When the customer creates a return authorization for the items, we can deduct the specific amount of the return fee for every RA created by the customer using this method. We need to create a discount item with a rate of positive discount, then we can add this item to every RA created. Below… Continue reading How can we deduct return processing fee automatically when a customer create a return authorization from the website

How to resolve “Method Not Allowed” error when we call Suitelet from the Postman

Description: When we tried to call Suitelet from the postman, we may face this error through the response, we can use this solution to resolve it. Error: The issue is happened due to the invalid user-Agent add the following key value pair in the header section of the request then the issue will be resolved.… Continue reading How to resolve “Method Not Allowed” error when we call Suitelet from the Postman