This might be one of the Quantity Discounts Apps. I have developed Super Quantity Breaks and Upsell App which has this same functionality and more. Our app store link is- https://apps.shopify.com/super-assistant-discount. Let me know if you require any help, I'd be more than happy to set everything up for you. I'm available at email@example.com anytime!