Releases: lukepolo/laracart
Releases · lukepolo/laracart
Coupon totals cannot be less than 0
Apply fixes from StyleCI [ci skip] [skip ci]
Discounts higher than the price taxes should = 0
Apply fixes from StyleCI [ci skip] [skip ci]
1.5.2
Return item in coupon
Apply fixes from StyleCI [ci skip] [skip ci]
Breaking Changes!!!!!
All coupons must now have a forItem
which allows us to add coupons on the fly
$this->laracart->add(
1,
'Product with 19% Tax',
1,
100,
[
\LukePOLO\LaraCart\CartItem::ITEM_TAX => .19,
]
)->addCoupon(new \LukePOLO\LaraCart\Coupons\Fixed('50EUR', 50, [
'description' => '50EUR',
]));
Forgot to add defaults
Apply fixes from StyleCI [ci skip] [skip ci]
Pre Taxed Discount Tax totals fixed
Apply fixes from StyleCI [ci skip] [skip ci]
Added option to say discounts are pre taxed
Merge pull request #227 from lukepolo/stylejs-1238 Apply fixes from StyleJS
Make sure items are an array
Merge pull request #220 from yajra/patch1 Cast items to array.
Updating Tests
Merge pull request #219 from lukepolo/bug/217 Bug/217