cancel
Showing results for 
Search instead for 
Did you mean: 

Why wrong sub total when I adding coupon code?

Why wrong sub total when I adding coupon code?

I did created a Coupon under "Cart Price Rule"
=========COUPON SETTINGS======================
Rule name: $20 Coupon
Websites :" Mai Website

Customer Groups : General

Uses per Coupon : 0
Uses per Customer: 1

Condetion

If ALL  of these conditions are TRUE :

Actions
Apply : Fixed Amount Discount for Whole Cart
Discount Amount : 20
================================
 
When I add my Coupon code on my Order
it showing
Shipping-Methode-5.png
26.76 + 30 = 56.76 (subtotal+shipping)
56.76 - 20 = ?
Expected Result = 36.76
Actual Result = 35.36
 
Differance is = 1.4
 
Why this difference ?

 

 

kalathinkal
2 REPLIES 2

Re: Why wrong sub total when I adding coupon code?

Hi @vipinsimpl4aed ,

 

try after modifying 2 settings in cart price rule

1. Apply to Shipping Amount -- YES

2. Discard Subsequent Rules -- YES

https://docs.magento.com/user-guide/marketing/price-rules-cart-create.html

 

After the changes, clear the cache and try to first remove and again apply cart price rule on the cart.

 

Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!

Re: Why wrong sub total when I adding coupon code?

The issue resolved.

 

The real problem is the calculation after and before the Coupon code. Actually, the Tax varying when adding discounts. The Client calculated cart subtotal - Discount   => Amount this amount is greater than the real amount.

 

So the calculation is like this

Total = Subtotal Excl Tax - Discount

Grand total = Total+(Total* percentage of tax / 100)

So the Subtotal is correct.

if any confusion on this Cart Subtotal. We must change Shoping Cart Display Settings > Disaply Subtotal > Exclude tax option

kalathinkal