Requirement Website Redesign: Redesign the website in a modular fashion to accommodate various product categories and customer segments. Ensure the website is user-friendly, visually appealing, and aligned with the branding of each product category. Implement a consistent layout and navigation structure for easy access to different domains or categories. Incorporate a search functionality that allows… Continue reading Proposal For Website Redesign (SCA)
Author: Vishnu S
How to add commas for all iterations except the last iteration to an array of objects.
Scenario: We have to create an array of objects, which stores details of each item added to the cart as an object, so the number of the object will equal the number of items in the cart, so we need to put ” , ” symbol in ending of objects but no ” , ”… Continue reading How to add commas for all iterations except the last iteration to an array of objects.
Adding Dot Digital Web tracking Script to the SCA website (Elbrus Version)
Scenario: In the NPUK project, The client wants to append a script to the SCA website of NPUK for tracking the data from the Dot digital platform. The purpose of the script is to track the cart details and orders made by customers through email campaigns. They already have Dot digital account(both production and sandbox)… Continue reading Adding Dot Digital Web tracking Script to the SCA website (Elbrus Version)
A Method To Find a Value that is Present Or Not in An Array of Objects in Javascript
Scenario: If we want to check whether any particular values are present in an array of objects and to do some actions according to that. Then we can use the following code: Here the data is from the pricing schedule which is basically an array of jects so here we are finding the price of… Continue reading A Method To Find a Value that is Present Or Not in An Array of Objects in Javascript
How To Add Custom Extension Manager
Scenario This is applicable if you want to add custom navigation path to access the Extension Manager using the SC Deployer Role. Solution Navigate to Customization > Scripting > Scripts Look for NS SC ExtMechanism Services Click View Click Deployments Tab Click NS SC ExtMechanism UI NS SC ExtMechanism UI:Click Edit Go to Links Sub-tab Add a new row Center: Select Classic Center Section: Select Support Category: Select Custom Label: Select Custom Extension Manager … Continue reading How To Add Custom Extension Manager
How to write a code that needs to run based on any change happening in the cart.
When extending the cart view, when any values like quantity or cart add/remove is happening and we need to update any values in the cart according to the change we can use the following code: This function will run every time an update happened in the model
Points To Be Noted While Passing a Boolean Variable To Backend In An Extension
While working on any SCA extension having both javascript and suite script module, if we are passing a boolean value(true/false) to the suite script module there is a chance for changing the variable type to string. So if you are checking any condition with that variable make sure to check the type of the variable… Continue reading Points To Be Noted While Passing a Boolean Variable To Backend In An Extension
Code for generating Unique ID Using timestamp
We can generate unique IDs using the following Java script code. We can use this code for requirement which needs a unique value to be generated every time or when a conditions satifies. And there are Random ID generating code are available but here we are using current date and time values to generate unique… Continue reading Code for generating Unique ID Using timestamp
How to Convert ship method into abbreviated form for displaying in the SCA website.
In the NetSuite the ship method values contains 2 or three words in it for example: “3rd party FedEX” so if any client wants to display on the the abbreviation or a single word we can use the following javascript for converting the ship method. Example: “3rd party FedEX” can be converted into FEDEX and… Continue reading How to Convert ship method into abbreviated form for displaying in the SCA website.
Home page slider for Best Seller and New Arrivals items
Need to develop best seller and new arrival sections. The item must be configurable from the configuration record. The item image must be changed when hovering over the item. When the item must be redirected to the item page. So clients can change the item image, and hover the image to their needs accordingly. Used… Continue reading Home page slider for Best Seller and New Arrivals items