You can enable the Maximum Allowed Discount from the sales settings by following these steps: From the main menu, go to “Sales” and select “Sales Settings.”
Enable the option “Enable Maximum Discount,” then enter the maximum allowed discount percentage or amount.
Click “Save” to apply the settings.