Remove or Hide Error Messages in Reference Checkout

Scenario There are instances where users do not want to show error messages to their shoppers. Solution In order to remove or hide the error messages user needs to follow these steps: User needs to go to the custom folder of the SSP Application that is associated with their web store Navigate to Custom Checkout > templates > globals > macros Verify… Continue reading Remove or Hide Error Messages in Reference Checkout

Disable Update of Item Sublist in Transaction records

Scenario: Disable item sub list update option like add, edit, remove items from item sublist in Estimate,sales order and in other transaction records. Client script is used for this scenario. Code snippet:// Declare a variable as global var sublistEditFlag =false; // On sublistChanged function,if sublist is item,then global variable is set to true. Sublistchanged function… Continue reading Disable Update of Item Sublist in Transaction records

Error Messsage on Button Click

Scenario: On button click,a field value need to be validate.If value is not set in the field then error message need to be displayed.And the further button action need to be prevented in Client script. Solution: Use ‘N/ui/message’ module Code snippet: function in client script called on button action: // Defining the function called in… Continue reading Error Messsage on Button Click