CodeIgniter Forums

Full Version: How To Find Cheapest Item in Cart
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]RMinor[/eluser]
I am stuck on how to return the cheapest product in a customer's shopping cart. I am pretty sure that you would use min() to do that, but I'm not sure. Has anybody had to do this before or does anyone know how to do it?