Ah! Gotcha, my apologies. It would be nice to tie "add stock" directly to variables. If its easier, just having javascript inputs for conditions would also be helpful but if not, it is a simple enough workaround, would just save some switch slots.
Can you elaborate a bit on what tie-in you'd be looking for there? Do you mean using a variable for which item is being added?