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
Tag: error message
How to customize the source code error message for the particular section.
For this we need to modify the error message for the required section and for rest leave same as like that by adding condition. Modified error message source code error message
How to change the color of particular error message which is used in suite script.
By using this Methode if their multiple error message we can change color for the particular message by extending the GlobalView message
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
Display item name and stock count for out of stock items in cart page
in entry file .js in template file .tpl in sass file
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