With the 2023.1 release, the Strike-Through Pricing feature will apply to matrix items as well as non-matrix items. Strike-Through Pricing compares a customer’s configured price level to the default price level set in the SuiteCommerce Configuration Record’s Shopping Catalogue tab. If the customer’s price level is lower than the default price level, the item pricing… Continue reading Strike-Through Pricing Support for Matrix Items
Author: Ittymathew Paul
Make Item Non Returnable
To make the item non returnable via a custom field on the NetSuite, extend the itemKeyMapping and the _isReturnable and update the context returning from the function
Fetch Extension using New Token
For creating new token instead of using the existing one, replace the credential with an empty object which will force you to create a new token while deploying
Prevent Initial Extension Fetch
We have a configuration JSON that can be updated to prevent the initial extension fetch on the gulp folder. For example, replace fetchConfig with fetchConfig empty Obejct as shown in the figure, which will indicate what to fetch once more.
Show Child Item in Quick Add
On this, we’re installing a custom plugin, so when an item is queried, it will look for the child item associated with it and update the list displaying. Adding the code used in the plugin
M/R for saving the Records
This is a load and save the records associated with the saved search used in the script. This can be useful if we need to trigger a UE for a large number of records /** *@NApiVersion 2.x *@NScriptType MapReduceScript */ define([“N/search”, “N/record”], function (search, record) { const COMMITTED_SO_SEARCH = “customsearch_temp_prescription_items”; function getInputData() { return search.load({… Continue reading M/R for saving the Records
Git Ignore
The types of files you should consider adding to a .gitignore file are any files that do not need to get committed.You may not want to commit them for security reasons or because they are local to you and therefore unnecessary for other developers working on the same project as you. like Folders generated by… Continue reading Git Ignore
Git Graph – VS Code
Extension Id on VS Code: mhutchie.git-graph After Login to the VS code via git hub you can us the help of the extension GIT GRAPH. One of the most important benefits to describe and visualize the history of changes in a project. From where the branch is created to where the branch is merged, author… Continue reading Git Graph – VS Code
Get Custom Field from Commerce Categories
To obtain the custom fields, we must modify the model file for a quick and optimal solution. We need to mention the custom field ids for fetching, and the section below with the Enhancement heading is where the update is made; please check and understand the concept before working. Because custom fields do not return… Continue reading Get Custom Field from Commerce Categories
Guest Checkout: Disallowed if Email Address is already used by existing Web Customer Account
When a guest customer tries to checkout with an existing email we are not allowing them and throwing an error to the user to prevent duplicate customers with same email. It is an UE script deployed to lead records on BEFORE SUBMIT FUNCTION