Consider you have CAT-A(with subcats) and CAT-B(with subcats).

I'd like to offer 25% off all products in CAT-B when any product from CAT-A...