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',
]));