When I'm view images in freevo I use shoppingcart to remove some images. But now present only AddItemToCart feature for add image image filename into cart.
In my patch I add into AddItemToCart condition: if image filename present in cart - remove it from cart, else - add item to the cart.
Logged In: YES
user_id=104395
Originator: NO
Hi Valera
I don't think that I will add this patch because it is a bit odd to select add to cart and it deletes it from the cart.
A better change would be to change the menu so that when an item is in the cart it says delete from card and the add option is not available.
If I've misunderstood the patch then I'm sorry and I'm sure that you will put me right.
Logged In: YES
user_id=505559
Originator: YES
Hi.
1. I'm view images (slideshow).
2. On some image I think to select this image and press IMAGE_TAG to add item to cart (no menu - I'm only view images in slideshow).
3. After that (if I see images in second pass) I think that I must unselect that image.
How can I do it (in slideshow process)? In that patch I add second function to AddItemToCart. This function (AddItemToCart) call not from menu, but only if I see images in slideshow process by IMAGE_TAG button press.
Do you understand me?
Logged In: YES
user_id=104395
Originator: NO
Now I see what you mean, but I still wont add code to an add function that causes a remove.
I see the problem, once something is in the cart it cannot be removed. So I've fixed this and this should allow the menu to change as well.
Hope this works as expected.
Logged In: YES
user_id=505559
Originator: YES
Small patch (name of action).
File Added: shoppingcart.diff
Logged In: YES
user_id=104395
Originator: NO
Missed that one thanks
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).