To solve alignment issue on category page or credit card section or such grid arrangements when all grids are not arranged full one after other we are having alignment issues when elements are in grid pattern, some grid will be empty and elements will be moved to next line, to solve this we can use… Continue reading Allign elements in grid pattern
Author: Abhilash Venkataramana
To prevent the error: “Invalid entity reference key xxx” at the time of placing order from checkout
A issue was reported for the error, these error is not caused from extension it was caused by CSV file set up to be made in netsuite Vendor Names on the CSV file must be entered the same way they appear on the Vendor field other measures is to be taken in solving the issue… Continue reading To prevent the error: “Invalid entity reference key xxx” at the time of placing order from checkout
How to make a item personalised or not from edit cart
For this we can check for the values before update if any values are present then the item will be stored as a personalised if personalisation made from pdp is removed then it will be not personalised item and can be checked by checking length of fieldsAn example to check the condition is given
How to show image preview of a image updated from edit cart for items having personalisation
When we extend functionality of pdp extension on edit cart it will update only fields it will not update personalised image this is because of standard tpl fileFor edit cart pop up fields will be displayed using standard tpl file upload function is not there on tpl it is created one so it will not… Continue reading How to show image preview of a image updated from edit cart for items having personalisation
How to avoid negative margin in code review
How to avoid negative margin in code review As coding standard we are not allowed to use negative margin in substitute to negative margin position property can be used and its values can be declare so that it will not effect zooming these will be effective for smaller elements an may not be effected for… Continue reading How to avoid negative margin in code review
To make contentes responsive without media query
Now we are using media queries of all screen width we can avoid this by using flex property & flex wrap to wrap and setting its base to some value so when there is no place for the content in particular screen width it will wrap into a new line so that no space will… Continue reading To make contentes responsive without media query
Screen widths and their corresponding variables
As per coding standard we are using some of the standard screen widths in media queries for phone, tablet, desktop, wide desktop like 480px, 767px, 768px,992px, 991px,1200px,1199pxBut we are not allowed to use them directly as values, should use them as variables already created in filesThese can be find in Themes file by navigating to… Continue reading Screen widths and their corresponding variables
How to search project tasks order with SuiteScript 2.0
When a project task record is created the position of project task in the schedule is automatically created and these values cannot be searched because user set the order by insert before option, there project task id and position will be same hence we can use suitescript 2.0 code to search that record source: Get… Continue reading How to search project tasks order with SuiteScript 2.0
The ” Search ” component includes the ” getUrl() ” method, which can be use to get the URL of the item search API of SuiteCommerce website When getUrl() is called, it returns a string that corresponds to the end fragment of the item search URLExample:
var search = container.getComponent(‘Search’);var searchParams = {q: “bag”};var searchURL = search.getUrl(searchParams); This is example for search bag Need to call this method in entry point file of extensionSource: NetSuite Applications Suite – Use the Search Component to Set the ‘url’ property of Models (oracle.com)
GitHub basic
Please find and refer the link of a recorded video on fetching theme, commit changes and to create a pull request on GIT HUBAlso refer the link of a user manual provided on GIT HUBbandicam 2023-03-20 11-04-53-910.mp4GitHub- User Manual (2).docx GitHub is a website and cloud-based service that helps developers store and manage their code,… Continue reading GitHub basic