Scenario:If a user already has an account and tries to create a new account usingthe same email address + but a different password the system will not notifyhim that an account already exists for that email address and will create anew lead in NetSuite which results in creating duplicates.Solution: notify the user an account already… Continue reading Restrict the existing user from creating a new account with the same email address in Webstore.
Author: Vishnu S
Extension to redirect the user after login into the previous page.
Functionality:When the user clicks the login button on the header from any page, then the login page will load as usual and after login, it will redirect to the same page where the customer clicked the login.In this case, if there is no previous URL or direct Login, then the extension will redirect to the… Continue reading Extension to redirect the user after login into the previous page.
Loading animation using Jquery
This code is to add a loading animation to the ‘Log in’ button on a website. using Jquery
Online Case form sample template (Hiding mandatory fields)
This is a custom template That can be used for creating online case forms in Netsuite. The online case forms can be used to create a new case record in NetSuite from the website. While submitting the form a case record will be created on the NetSuite. In this template, we can see the script… Continue reading Online Case form sample template (Hiding mandatory fields)
Online lead from custom template
This is a custom template That can be used for creating online customer forms in Netsuite. The online customer forms can be used to create a new lead from the website. While submitting the form a lead record will be created on the NetSuite.
Email template Issue with Outlook app in Windows
The style applied to an Image in the style tag may not detect by the outlook app. SO the Image may appear in its original size in the outlook app. For resolving the issue use the code below: Code snippet: In this code, the height and width are given outside the style tag for detecting… Continue reading Email template Issue with Outlook app in Windows
Redirect to Cart Page Extension
Extension for redirecting to cart page when user logs in from checkout page. Code snippet:
Image File Formats Recognized by Netsuite File Cabinet.
The following image file types are recognized in the NetSuite File Cabinet: Image : .jpg, .jpeg, .pjpeg, .gif, .png, .bmp Unrecognized File TypesAlthough NetSuite accepts all file formats in the File Cabinet, if a file format is not recognized, the file type is listed as Other Binary File. NetSuite cannot determine unrecognized file formats uploaded… Continue reading Image File Formats Recognized by Netsuite File Cabinet.
Code for setting a particular currency to a website from available currencies
Here in the code snippet, it is setting currency value to US dollar from available currencies.
Updating Item options In Cart
For updating an item option in the cart when a customer adds any item to the cart, we can update it by using the function setItemOptions. Syntax: setItemOptions(itemlineid,optionMap) Updates the item options for a particular cart row. Parameters itemlineid [required] optionMap [required] {Array of Item Option ID value pairs} Example Extending Liveorder Model file to update the… Continue reading Updating Item options In Cart