• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cart discount library example


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.
What did you Try? What did you Get? What did you Expect?

Joined the CodeIgniter Community in 2009.          ( Skype: insitfx )

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

Users browsing this thread:
1 Guest(s)

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2018 MyBB Group.