Discount value not properly calculated when non-discounted item added to cart
I could use some expert help, please
ZC156c
php 7.3.20
maria 10.3.23
plugins that I think may affect price calculations:
Dynamic Price Updater
Quantity Discounts
OPC
Discount coupon setup (admin:discounts:coupon admin)
Deny ALL
Category #1 ALLOW 20% discount
Category #2 ALLOW 20% discount
- When items from either, and/or both categories are in cart, discount is calculated correctly
- IF an item from a 'non-discounted' category is added to cart, discount is calculated correctly
- WHEN the quantity of that same 'non-discounted' item is increased to satisfy a Quantity Discount, the discount coupon value shown at checkout changes, ie: is reduced by a value that I have not yet associated with anything.
I do not recall zc154 never having this issue and we use similar discount/coupon structures frequently. This just happens to be the first since upgrading to 156c
Order Total: in sort order
ot_quantity discount
ot_subtotal
ot_shipping
ot_coupon
ot_group pricing
ot_tax
ot_loworderfee
ot_gv
total
In my example
product 1: $32.24 discounted 20%
product 2: $134.46 discounted 20%
product 3: $213.15 quantity discounted 5%
coupon discount should be $33.34
quantity discount should be $10.66
coupon discount changes to $31.08 when product 3 (qty 5) is in cart
coupon discount shown correctly is $33.34 when product 3 (qty 4 or less) is in cart
Rick
RixStix (dot) com
aka: ChainWeavers (dot) com
Bookmarks