AbanteCart Community

AbanteCart Development => Development Help Needed => Topic started by: hus2020 on April 26, 2017, 03:03:45 AM

Title: Shipping Cost Excluded from Account Balance
Post by: hus2020 on April 26, 2017, 03:03:45 AM
Hi guys,

When I buy using account balance, it deducts from subtotal+taxes+shipping. How do I change the formula so it only deducts from subtotal+taxes only. Using calculation order from Order Total extension is not working. The formula seems to be hard-coded.
Title: Re: Shipping Cost Excluded from Account Balance
Post by: eCommerce Core on April 26, 2017, 03:47:05 PM
Try to change the calculation order in order total extensions.  See attached screenshot

You can put balance before shipping.

This is a model that apply account/balance to the order
public_html/storefront/model/total/balance.php