Skip to content

Releases: lukepolo/laracart

Coupon totals cannot be less than 0

27 Jan 17:22
Compare
Choose a tag to compare
Apply fixes from StyleCI

[ci skip] [skip ci]

Discounts higher than the price taxes should = 0

27 Jan 17:14
Compare
Choose a tag to compare
Apply fixes from StyleCI

[ci skip] [skip ci]

1.5.2

27 Jan 17:01
Compare
Choose a tag to compare
Merge branch 'master' of github.com:lukepolo/laracart

Return item in coupon

27 Jan 16:49
Compare
Choose a tag to compare
Apply fixes from StyleCI

[ci skip] [skip ci]

Breaking Changes!!!!!

27 Jan 16:42
Compare
Choose a tag to compare

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

27 Jan 16:14
Compare
Choose a tag to compare
Apply fixes from StyleCI

[ci skip] [skip ci]

Pre Taxed Discount Tax totals fixed

27 Jan 16:09
Compare
Choose a tag to compare
Apply fixes from StyleCI

[ci skip] [skip ci]

Added option to say discounts are pre taxed

27 Jan 15:32
e1b5701
Compare
Choose a tag to compare
Merge pull request #227 from lukepolo/stylejs-1238

Apply fixes from StyleJS

Make sure items are an array

22 Nov 14:07
ca4319b
Compare
Choose a tag to compare
Merge pull request #220 from yajra/patch1

Cast items to array.

Updating Tests

21 Nov 20:59
4ea689a
Compare
Choose a tag to compare
Merge pull request #219 from lukepolo/bug/217

Bug/217