Thanks for your inquiry. ~ We appreciate your patience :-)
Right. s2Member’s Coupon Codes are designed to provide discounts on purchases, but not to discount things all the way down to a completely free scenario, unfortunately. This may come in a future release.
For now, the easiest way to handle this, is by setting up a Pro Form for Free Registration, and wrapping it with Simple Conditionals that would test for the existence of a Coupon Code (or Codes) that you generate yourself and integrate into this scenario.
Raam (an s2Member® Support Rep) put together a how-to article covering this topic
here.
It may also be worth your time to read this recent KB article that goes into more detail about Simple Shortcode Conditionals. See: Knowledge Base » Simple Shortcode Conditionals
So let’s assume for a moment that you have a cookie set in the customer’s browser with the Coupon Code that makes it possible for them to register at no cost. I’ll assume you’re dealing with this part in custom code.
Now you will create a WordPress® Post or Page and pop a Free Registration Form Shortcode into it.
<?php if(!empty($_COOKIE['coupon_code']) && $_COOKIE['coupon_code'] === 'FREEREG2013'){ ?>
[s2Member-Pro-PayPal-Form register="1" level="0" /]
<?php } else { ?>
Sorry, your Coupon Code has expired.
<?php } ?>
It might help to have this plugin installed too. See: Knowledge Base » ezPHP Plugin for WordPress®