LaravelShoppingcart icon indicating copy to clipboard operation
LaravelShoppingcart copied to clipboard

discount from total price

Open saeed7m opened this issue 5 years ago • 2 comments

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

saeed7m avatar Feb 26 '20 00:02 saeed7m

I thik theres a setGlobalDiscount() method in Cart class.

jurerick avatar Mar 02 '20 17:03 jurerick

Hi, did you manage to solve the problem?

setGlobalDiscount is set to be percentage not fixed, how can we change that?

blkaleeb avatar May 30 '24 08:05 blkaleeb