We are customizing a site and I need to support basket items with quantity of zero.
When I set the quantity to zero and save the basket Item it deletes the item from the basket. Is there a way to save a basket item with quantity of zero?
What options do I have?
Thanks.
Basket items with zero quantities
-
- Ensign (ENS)
- Posts: 7
- Joined: Fri Dec 19, 2008 2:15 pm
Re: Basket items with zero quantities
I don't think so that you could make basket item stay in the basket with quantity zero. BTW what is the desired functionality that you want to achieve by setting quantity to zero.
-
- Ensign (ENS)
- Posts: 7
- Joined: Fri Dec 19, 2008 2:15 pm
Re: Basket items with zero quantities
Thank you mazhar. I was afraid this would be the answer.
The user can edit old baskets and set items to zero but we want to keep the item in the basket for historical purposes. We are migrating from an existing system and that's how they have been handling it with their clients forever. So it is important for my client.
The user can edit old baskets and set items to zero but we want to keep the item in the basket for historical purposes. We are migrating from an existing system and that's how they have been handling it with their clients forever. So it is important for my client.
Re: Basket items with zero quantities
If you need to maintain the history of items been added to basket then perhaps you should create some extra table in database with desired fields. Then maintain history of items being added to basket in new table via inserting records into it. Finally if you need to show a customer history of his/her cart then you need to create some customer to page to list their cart history.
Re: Basket items with zero quantities
You might try copying the basket items into a (new) wishlist during the checkout process - I don't think the wishlist cares about quantity like the basket code does.
And AC7 supports multiple wishlists per-user in the code, it's just not implemented in the pages. You're left with just having to make a page that lets the shoppers manage multiple wishlists and load items back into the basket.
And AC7 supports multiple wishlists per-user in the code, it's just not implemented in the pages. You're left with just having to make a page that lets the shoppers manage multiple wishlists and load items back into the basket.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com