I need to run a script when an item is Saved on the Quote. So you pick a product from the dashlet, it is added to the SubPanel and then you click on the green button to save it.
As it is saved I need to check its 'product_template_id' and if it is one of 4 I need to set a checkbox on the parent quote. If its not one of the 4 I am looking for then nothing happens.
Right now I have a timer that runs once a second and looks that way, its horrible but it works but I cant really see myself putting this in Production. Does anyone know where I can attach a script to that save button and check there?