This topic contains 0 replies, has 1 voice. Last updated by Antonio Monteagudo 4 years, 6 months ago.
Topic Author | Topic |
---|---|
Posted: Friday Jun 22nd, 2012 at 6:13 am #17171 | |
I was looking for a fix to offer a coupon code to become a not free membership in a total free membership (not paying 0,01). A read a solution (http://www.s2member.com/kb/offering-free-coupon-code/) but i didn’t like this solution because it doesn’t use the s2member coupon code fields. So, I made some changes over it. First, on registration page: //S2member free register shortcode with level=”1″ (in my case is necesary) [s2Member-Pro-PayPal-Form register="1" accept_coupons="1" level="1" ccaps="" desc="DESC" custom="" tp="0" tt="D" captcha="clean" /]//S2member paypal pro shortcode (paid register) with level=”1″ [s2Member-Pro-PayPal-Form level="1" ccaps="" desc="DESC" ps="paypal" lc="" cc="EUR" dg="0" ns="1" custom="" ta="0" tp="0" tt="D" ra="2" rp="1" rt="Y" rr="BN" rrt="" rra="2" accept_coupons="1" accept="paypal" accept_via_paypal="paypal" default_country_code="US" captcha="0" /]Second: The coupon codes, in this case, must be defined like this: COUPON_NAME|FREE
|