I've made some basic modification in Magento to create a webshop on were returning/regular customers can order their products. It's some kind of dealership website where the wishlist is used as an inventory/catalog for the customers. I've managed to make some modification so that none of the products on the wishlist are being removed when adding to the cart.
But now i'm stuck with one problem; when a customer creates an order from the wishlist it's sometimes the case that they don't want to order all of their products from the wishlist, example:
Wishlist:
- Product A, Qty: 2
- Product B, Qty: 0
- Product C, Qty: 3
- Product D, Qty: 0
When using the button 'Add all to cart' I get the following result in cart:
Cart:
- Product A, Qty: 2
- Product B, Qty: 1
- Product C, Qty: 3
- Product D, Qty: 1
All the products that are added to the cart even the products that are set to 0 in the Wishlist. I tried everything and also tried to modify the classes and functions, but no result. I have to admit that I'm not an hardcore Magento Developer, but know some basic PHP. So I don't ask to people to write complete functions for me, but some little help in the right direction would be great!
Long story short: disable the function of adding products from wishlist to cart when qty is set to 0 in wishlist ;)
Magento CE ver : 1.9.0.1