Shopping cart plug-ins

Is there a shopping cart plug-in that works with S2member that will check a members level or if someone is a member before checking out to adjust the price or confirm a member’s level?

I want to automate the process of giving members discounts on products.