I have bundle products with 3 checkboxes checked as default. I want to add a bundle product from the page category list (list.phtml
) without having to specify the o
Ok, I finally got it working the way i think it should.
Wgenie put me in the right direction.
I use this code instead of Wgenie's and it not only adds the item to the cart but controls the stock of the bundle options and shows Not available if one option is out of stock:
getTypeId() == 'bundle') : ?>