To make some modifications to the image gallery on the PDP page
Tag: EXTENSION
“Customer Notification” tab navigate to a new page in the my accounts section and save the form values in Netsuite in the created custom record using extension.
Javacsript Entry file Router File View File Suite Script JJ.MyaccountNav.MyaccountNav.js file Service Controller file Change in manifest file entri point as service controller Create a custom record in the NetSuite with fields belowNameCommentsDate of birthPhone numberEmail Go to Customization > Lists, Records, & Fields > Entity Fields.
Update the header section login name length using extension.
To update the header section login name length,extend the corresponding view file.And update the corresponding template file.A sample code is given below.
To add Best seller as sorting option
RequirementThe Best Sellers extension adds a sorting option that lets you showcase best-selling items in your web store. Best Sellers can be used in several ways: Sort your product list page by best-selling items Set up specific merchandising zones to showcase best-selling items SolutionTo install the SC Best Sellers SuiteApp: In NetSuite, go to Customization >… Continue reading To add Best seller as sorting option
Set Up Extension Developer Tools Supporting versions
Inspect the home page for find the App version for downloading supported Extension tool if used App version – 2021.2.0.108 then supported extension version is Extension Development Tools -21.2.x.zip from the bundle version is SuiteBundles/Bundle 390093/. Download the .zip file you find there: go to root file Run 1. npm install 2.gulp Extension:fetch 3.create Extension… Continue reading Set Up Extension Developer Tools Supporting versions
Update the condition for AddressLock
Create an entity field(checkbox) and add the condition if the checkbox enabled the customer not allowed to add/edit/delete the address.Also an error message should be displayed. solution: Create an entity field in netsuite. And using the id of entity field ,get values from backend. Extend the template file using the getcontext value.
Error: Impossible to parse backend error while running extension
How to solve error ” impossible to parse backend error – Request{“url”: ” “} ” occurring in console, while running the extension? Solution: Check the vendor in manifest and folder name created for the service file in Netsuite. Both should be same. The vendor name is case sensitive so while using the model, we should… Continue reading Error: Impossible to parse backend error while running extension
SCA- run the backup or source locally
Fetch the backup (zip) from corresponding application folder from netsuite. Extract the files and open the terminal. Enter the following commands (Ensure the node used is correct) npm install gulp local To run the source replace the modules extracted from backup with source modules If the folder “ns_npm_repository” is missing then add it from backup
Update the address module to Address Lock
Another quote is for “Address Lock” so if the customer has 30 addresses in the address book, he won’t be able to edit/delete/add the address. He can only select one of those addresses for shipping. The user should not be allowed to edit, create or delete when the customer has 30 addresses in the address… Continue reading Update the address module to Address Lock
How to resolve Error in extension: Module ‘GlobalViews.CountriesDropdown.View’ not found.
In order to add country field in form, I have used ‘GlobalViews.CountriesDropdown.View’ in the view file. But it is creating issue . Solution: These files ‘GlobalViews.CountriesDropdown.View’ are not available in shopping domain and myaccount domain. So remove it from those domains and deploy it to only checkout. This can be done by editing manifest file.