It happens from time to time, i have to add a WC order manunally from my admin panel - but the thing is i want it to automaticly add a certain product, if if certain parameters is set.
Let's say im creating a new order, and im adding product ID #646, and since a certain parameter is set on that product, i also want it to add product ID #800. So when pressing the "Add Product" button, as seen below it should add product id #800.
I have been trying to find a hook i can use, but i seem unable to find a hook that is fired when pressing the "add Product" from the admin order panel - or anything similar.
Am i looking the wrong place?
is it even possible?
If anybody could point me in the right direction, i would appreciate it!