-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 M3
-
Fix Version/s: 6.2.4 CE GA5, 6.2.X EE, 7.0.0 M2
-
Component/s: Util, Util > Shopping
-
Labels:
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Story Points:9
-
Git Pull Request:
Summary: When a percentage coupon with limits is created the percentage discount is not being applied when the cart is updated.
Steps to Reproduce:
1.) Add a shopping portlet
2.) Add a category "cat" and save
3.) Add an item "item", set price to 10.00, set Stock Quantity to 10, and select "cat" as the category. Save
4.) Go to "Coupons" within the Shopping portlet
5.) Add a new coupon
6.) Set Code to "10OFF"
7.) Set name to "Coupon 1"
8.) Set description to "10 percent"
9.) Set discount to "0.10"
10.) Set Limits to "cat" and Save
11.) Select "item" from the Categories tab
12.) Click "Add to Shopping Cart"
13.) Set Quantity to a number 1 < n < 10
14.) Type "10OFF" into the Coupon Code box
15.) Click "Update Cart"
Expected Behavior:
Discount would be shown in the Coupon Discount box
Actual Behavior:
Discount is shown as "0.00"
Reproduced on master
Commit id: 398157274251feb33f59d2866bee6312b401ecf1