multi purchase saving

Is there a way I can have a customer choose a multiple of several products to get a saving.

ie. I have 8 different products all the same price, if anyone buys 10 of 1 product they get a 10% saving, I want someone to be able to choose a mix of any of the 8 products, 10 in total to get a saving.

If that makes sense?