CodeIgniter Forums

Full Version: Cart discount library example
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

i have been using codeigniter cart for handling online shop site. I store multiple item into the cart. But i have a problem when the item has discount to reduce the amount total of the cart. I have no idea how to do it if the discount stored in database. The discount my consist of percentage and decimal value. May someone please help me the algorithm or the code  example to handle the discount cart.

The Cart library has been deprecated, and will be removed in the next version of CodeIgniter. I suggest finding an alternate.
It will be replaced by another cart library or it will be removed permanently?
It is being permanently removed. There are better open source alternatives.
well, can you please inform me the open source name? i would like to try.
There are too many open source cart libraries to mention here do a search with google.