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 if the message_macro.txt is in the directory. Note: If it is not in there yet, copy the file from the Reference folder to the Custom Folder
- Edit the file
- Under the Media Item field click Edit
- Locate the DIV tag that has an ID of modal
<div id="modal" class="modal fade">
- Add an additional attribute STYLE with values set to DISPLAY:NONE
<div id="modal" style="display: none;" class="modal fade">
- Save the file
With this customization, alerts and error messages will no longer be visible to the shoppers.