How Can I Update The Price On A Product Page To Consider Quantity Discounts


I have a short question and hope someone can point me in the right direction.

I would like to update the price shown on the product detail page whenever the quantity is changed.

If I have a Price of 100$ and a Product Option with a price of 10$ is selected the price that is shown is updated automatically to 110$.

However if a quantity discount is active it is not considered. I would like the price shown to decrease or increase whenever the customer updates the quantity.

I am not shure where to begin, what hooks to use, etc as there are so many prices in the arrays.