[2.3] Applying Same Group Discount on product Causes Internal Server Error (ISE)
Author: dheerajqa-webkulCreated Sep 30, 2025Updated Jun 23, 2026
LabelsBugInternalRefined
Terms
- Before you openning this issue, i have checked if the issue has already been reported.
Bagisto Version(s) affected
2.3
Issue Description
When the Admin tries to apply a discount for the same customer group more than once on product , the system throws an Internal Server Error (500 ISE) instead of showing a proper validation message.
Preconditions
Admin Should be Login
Steps to reproduce
- Login as Admin.
- Navigate to Catalog → product → Group Discounts.
- Create a discount for a customer group (e.g., “Guest”).
- Apply a discount for a same group
- Click Save Product
- Show error
Expected Result
The system should not allow duplicate discounts for the same customer group.
A proper validation/error message should appear, e.g., “A discount for this customer group already exists.”
Actual Result
The system throws an Internal Server Error (500 ISE).
Screenshots
https://webkul.chatwhizz.com/share/view-recording/68dbf228303e820572c517c6
Additional context
No response
Source: bagisto/bagisto