I am not using IE, I am using Safari. I changed the line of of code like you suggested. This is what’s happening:
The button “refresh cart” is enabled, I can click it and my selection is applied! Cool 🙂
What’s not happening:
If I do not click “update cart” and proceed to checkout, the product is not applied. Is this supposed to work or only by clicking “update cart”? Because you wrote before “Also, when checking out the item should be applied when the user clicks the ‘checkout’ button.”
But in the checkout itself is no way of updating the cart? I mean if the user has not chosen the free product before… then is there a way to remove the free product selection from the checkout? Otherwise I will use CSS to simple not display it.
Thanks for your help!