Welcome Guest, Not a member yet? Register   Sign In
Removing the last item of a cart
#11

[eluser]Unknown[/eluser]
[quote author="Блум" date="1304441868"]It seems like it is written for some old CI version, isn't it? And it uses some "products" db table which is not provided in this example..
Anyway I run it just to be sure, and it has absolute the same behavior, and it should, since it has nothing really different than we discussed in the previous posts.
Can anyone confirm my statement, that (on CI 2.0.2) the last single element in the cart can not be removed with 'qty' => 0?[/quote]

Hello, i ran into the same problem. When i have a single item on the cart i cannot remove it by setting it's qty to 0. The single item is also the last item on the cart so i think we experience the same issue. Shame that this still hasn't been fixed :blank:
#12

[eluser]Блум[/eluser]
In my case it turned out that the id of the last cart item was changing, that's why it could'n remove it.




Theme © iAndrew 2016 - Forum software by © MyBB