| Summary: | Incorrect return values when calculating discount of the product | ||
|---|---|---|---|
| Product: | online shop management system | Reporter: | Silvia <potleung4-c> |
| Component: | User | Assignee: | Silvia <potleung4-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | potleung4-c |
| Priority: | Normal | ||
| Version: | 1.0.0 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
|
Description
Silvia
2020-11-05 23:24:04 HKT
Step of the test: 1. Create a user with a silver membership. 2. Buying a product that has a discount better than the silver membership discount. 3. Compare the product and the membership discount. 4. Using a better discount to calculate the final product price. The bug fixed successfully. The bug was fixed by comparing the product and the membership discount, using which discount is smaller than another to calculate the product price. |