Skip to content

Breaking Changes - Fixes to discount system and additional features added

Compare
Choose a tag to compare
@lukepolo lukepolo released this 04 Feb 00:32
· 323 commits to master since this release

Squashed a lot of bugs with the coupon system. Before it was calculating the discount after the taxation. It is now correct and following business standards.

Although there are some breaking changes with this , as a result of no taxation happens on the item during its price calculations :

    subTotal(false, false) now becomes subTotal(false). 
    getPrice(false, false) now becomes  getPrice(false)
    subItemsTotal(false, false) now becomes subItemsTotal(false) 

But some good news you now are able to relate your items to your models. Checkout the docs!