Author Topic: Shipping Cost Excluded from Account Balance  (Read 6378 times)

Offline hus2020

  • Newbie
  • *
  • Posts: 28
  • Karma: +3/-0
    • View Profile
Shipping Cost Excluded from Account Balance
« 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.

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Shipping Cost Excluded from Account Balance
« Reply #1 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
“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

 

Powered by SMFPacks Social Login Mod