[eluser]brandon.cordell[/eluser]
I've been developing web applications for a few months, but I have a decent amount of experience implementing shopping carts. Everything from Zen cart, to OsCommerce, to Magento.
I recently implemented a custom cart solution that we built in CI. I noticed that when you try to insert an
identical product, that is already in the cart rather than update the quantity of the existing cart item, it overwrites the existing product and returns true.
Every cart I have worked with has this functionality. I'm not sure if this a bug, or just an oversight, or even failure by design.
Regardless, I have modified the core cart class to fix this and would like to contribute it to the community. I searched and could not find anything, but I'm not sure if I just searched for the wrong keywords.
I'll post the code when I get home, hopefully this isn't a repost.
Thanks
Brandon