LaravelShoppingcart
LaravelShoppingcart copied to clipboard
discount from total price
how can i update cart::total() with discount price , for example total price of 4 products equal to 1000$ i want give user 20$ discount , how can I update total price with new price (980$ ) ?
thank you
I thik theres a setGlobalDiscount() method in Cart class.
Hi, did you manage to solve the problem?
setGlobalDiscount is set to be percentage not fixed, how can we change that?