rucky96

Results 5 comments of rucky96

Hi @johnthart, Yes, you are right. But this has the same effect than using an extended class for Cart. What I see complicated is modifying the CartItem class.

Hi @johnthart , No problem. But I think, if possible in a next expansion, it would be fine to change the variable $discount and $taxRate to protected. So we could...

I have successfully extended the Cart class by adding a new service provider and binding the default class to my custom class: 1. In config/app.php: ``` //[...] 'providers' => [...

To extend class CartItem I have repeated the same process but the result has not been satisfactory. I have not gotten Laravel to read the new class 1. I have...