PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

S2Member and Shopping Cart Discounts

s2Member Plugin. A Membership plugin for WordPress®.

S2Member and Shopping Cart Discounts

Postby Stu Gotz » June 11th, 2011, 11:55 am

Looking for some help or advice on trying to utilize S2M levels to set specific discount rates in my shopping cart for members of a certain level. I am using WP-eCommerce as the store and my client sells products there. He wants to use S2M for obtaining general subscription level revenue AND also provide different level discounts on the products in his eCommerce store.

Is there a way to do this using S2M ( I don't want to set up pages of duplicated products with 4 discount levels and restrict access that way. ). As a workaround of course coupons set to different discount levels could be used however what I would prefer is that the SHOPPING CART of the WP-eCommerce ( or some other decent WP Store) interfaces with S2 such that by virtue of the member being logged in, the system would know what level they are at and automatically apply the discount in the shopping cart associated with the S2M level they are at.

Any suggestions from anyone on the best approach to accomplish this short of providing coupon codes??
User avatar
Stu Gotz
Registered User
Registered User
 
Posts: 5
Joined: March 3, 2011

Re: S2Member and Shopping Cart Discounts

Postby Cristián Lávaque » June 11th, 2011, 11:49 pm

Sure, sounds interesting. I'd look at editing the checkout process so it checks what level the user's account is, and apply the discount based on that. These may be helpful: Wp Admin -> s2Member -> API / Scripting -> Using Advanced Conditionals and s2Member PHP/API Constants.

I hope that helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron