Hi,
I cannot see a reason why the above code shouldn't work. I am missing the complete picture of it to be honest.
The recent updates all weren't breezingcommerce related or affecting it, so with the piece of code above I cannot really tell.
Do you get any errors in on the site or in the browser console upon adding to cart?
Regards,
Markus