AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: hus2020 on February 07, 2017, 02:54:16 AM
-
Hi Guys,
I need a quick help. I have added a handling fees (5%) if customer chooses to pay online using payment gateway instead of the traditional manual bank transfer procedure.
The problem I face is, whenever I create an order and go to checkout, the handling fees is calculated 5% from the sub-total (value before taxes, coupon discount etc).
What I want is that the handling fees of 5% to be calculated at the final sum, i.e. (Subtotal + All Taxes - Discount) * 5% handling fees
Attached is the storefront image depicting the problem that I face, and also the backend order total sort list. Pls advice. Thank you.
-
There is a fix for this already.
To solve just replace your file public_html/storefront/model/total/handling.php with this
https://raw.githubusercontent.com/abantecart/abantecart-src/9b9adfe5280abac02f765576902f8e347d0130c1/public_html/storefront/model/total/handling.php
-
There is a fix for this already.
To solve just replace your file public_html/storefront/model/total/handling.php with this
Hi,
Just copy the code into the handling.php right? is this fix valid?
-
yes. Just replace your file