Tag: HTML Code
Show custom HTML tables/components inside the NetSuite record
We can add custom HTML tables/components inside any NetSuite record body or subtabs using an ‘Inline HTML’ field. For this first create a ‘inline HTML’ field inside the required record. Add the HTML code in the ‘Default value’ field under the ‘Validation & Defaulting’ subtab in the field record. For this, we can check the… Continue reading Show custom HTML tables/components inside the NetSuite record
Acceptable file types
The accept attribute specifies a filter for what file types the user can pick from the file input dialog box. The accept attribute can only be used with <input type=”file”>
NPS Survey
Requirement Ox Tools Global wants to set up an NPS survey within NetSuite. The customers will receive an email once in 90 days. The user will click on the number from 1 to 10 to add customer Feedback value. The reporting feature is also required. Solution We will create a script to execute daily and… Continue reading NPS Survey
Issue with product name in the SCA website
Some of the items name is showing incorrectly with HTML code in the webstore as below image. Solution: Inspect the code and find the class name and search it in the theme. In the theme the code might be having only 2 {}.For example the code might be as follows. For HTML the code changed… Continue reading Issue with product name in the SCA website
CSS Toggle Switch
Toggle switch has become one of the popular form elements in mobile apps, sometimes, on desktop website. It makes perfect sense while we use it on touch screen devices because it works exactly like those switches in our living space.
How we can use two SASS files in a extension
While creating a Extension in SuiteCommerce Advanced we get a default Sass file. But while doing development so much style needed and in one file it’s difficult to find the classes and IDs there. In this case we can create new SASS file and and we’ve to just import that SASS file into main entry… Continue reading How we can use two SASS files in a extension
Adding Current Year Dynamically in Copyright section in footer of Homepage.
For updating the year in the copyright section in footer of home page as shown below: Use this code: The year in the copyright section will be updated automatically according to the current date.
How to Add a New div Between Two Elements in an HTML Template Using JQurey
Adding a new element between two already existing elements in a template file using Javascript and JQuery. This method can be used for editing templates without directly editing theme in SCA websites. This method can be used in extensions. HTML code: Javascript + jQuery: Output: Elem 1 New Elem Elem 2