Note: If all of the products in the category are the same price, you may be able to address this with Magento's native catalog price rules. I haven't tested for this exact scenario, but I believe that the logic may be feasible with the off-the-shelf Magento feature set.