In a popup when two buttons are coming but as per the requirement you need only one button. Then we can remove the other two buttons by using JQuery. We have to make some changes in the template by adding extra code for the newly adding button. Then we have to give display: none for… Continue reading How to remove two buttons in a popup and add a single button using Jquery.
Author: Somsekhar Sripati
How to Customize SuiteCommerce Default Error Messages(without an extension!)
When a customer is browsing the website, adding items to the cart, creating a customer account and checking out, there are several areas in their shopping experience where the website might show an error message. To provide them a custom error message rather than a generic one. Need to change the default, system-generated text anywhere… Continue reading How to Customize SuiteCommerce Default Error Messages(without an extension!)
How to add functionality for eye icons separately for more than one password field?
In registration and login forms password fields will be there. To disclose those passwords eye icons is added. If there are more than one password is there, eye icons has to be added for each of the fields respectively. Inbuilt font-awesome icons are there to add the eye icon in the password fields. so, these… Continue reading How to add functionality for eye icons separately for more than one password field?
List and Grid view using JQuery
We use all the HTML code for List and grid view Button. Styling List and Grid view buttons by using the body tag selector. Now the styling of List and Grid buttons can be done by using the class selector. When the user press the buttons, the List or grid view will reveal itself. Now… Continue reading List and Grid view using JQuery
How to “Resolve Error Uncaught Type Error: Cannot set property”?
When we try to access an undefined variable it always returns undefined and we cannot get or set any property of undefined. In that case, an application will throw ” Uncaught TypeError cannot set property of undefined”. In the above error test object is undefined and does not exist. If the object does not exist… Continue reading How to “Resolve Error Uncaught Type Error: Cannot set property”?
How to resolve The “Syntax Error: missing ) after argument list”.
The Syntax Error: missing ) after argument list” occurs when we make a syntax error when calling a function, e.g. forget to separate its arguments with a comma. To solve error make sure to correct any syntax errors in the arguments list of the function invocation. If you can’t determine where the error is thrown,… Continue reading How to resolve The “Syntax Error: missing ) after argument list”.
Adding Quantity Pricing to the items based on Quantity available in NetSuite.
To add quantity pricing, first we have to find the view of the Quantity field for the Quantity pricing in the given page like shopping cart, Reorders, PDP page. Then we have to extend the views in the PDP extension. Before extending this views Quantity Pricing to be extended then use extend and wrap methods… Continue reading Adding Quantity Pricing to the items based on Quantity available in NetSuite.
How to resolve ReferenceError:”Primordials is not defined” in gulp: local
To solve the issue, first we have to check the node.js and gulp.js versions. If you are using Node.js 12 and Gulp.js 3. That combination does not work….Either upgrade to Gulp.js 4 or downgrade to an earlier version of Node.js. Then try to find the version of nvm. If the installed nvm version is 12.21.0.… Continue reading How to resolve ReferenceError:”Primordials is not defined” in gulp: local
Adding a Eye Icon in Password field and adding Functionality.
Some inbuilt classes were already created for the eye icons. we have to use them <i> tag above the input field for password. After adding the icon above password field. script is required to hide and show the password when clicked on it. Script added uses toggle class to display the text or password when… Continue reading Adding a Eye Icon in Password field and adding Functionality.
How to remove unnecessary div containers present in one page with out affecting in other pages.
The previous and next buttons which were there under the section customers who bought this item also bought will be removed by using script without affecting the buttons in the other pages. The script added in the above screenshot is used to remove those buttons from that page. In the script, we have to give… Continue reading How to remove unnecessary div containers present in one page with out affecting in other pages.