Automatic volume discount

how can I set the product's pricing based on volume?
e.g.
up to quantity 10: $10
quantity 11 and more: $9

Replies are visible only to logged in members with an active subscription.