Redeemer is the first (that I know of) ExpressionEngine module for managing coupon codes. You can create them from the control panel, and even let users create their own codes based on an action they perform. On Twitter I mentioned I was building this and I got a couple of responses along the lines of “why don’t you just use EE’s built in Weblog to create coupons?” I could have done this, and thought about it, but you can only create a basic coupon code system with EE’s built in features. You won’t be able to easily, if at all, manage the number of times a coupon can be redeemed before it is invalid, limit by the user’s IP address, or member ID. You also won’t be able to generate new codes in the templates, and creating randomized codes would still require an extension or plug-in.
Aside from the automatic URL redirection, if defined, what happens when a code is valid or invalid, is completely up to you. Just use an {if valid} conditional.
Hi Brian,
Thanks for putting this up for everyone to try out. I’m just wondering if I’m doing something silly somewhere though as I just tried this on 1.6.8 and when I went to the Modules tab I got a message on screen saying that it couldn’t load the lang.redeemer.php file. It’s definitely there in the system->language->english folder so not too sure what might be wrong here?
Best wishes,
Mark
Hi Brian,
Just to let you know I tried it out on another site this time not getting the language file error but I did get a white page except for the error shown below when I attempted to go to the installed module page :
<
blockquote> Fatal error: Call to undefined method Display::view() in /usr/local/psa/home/vhosts/*****.com/httpdocs/admin/modules/redeemer/mcp.redeemer.php on line 231 [/blokquote]
Best wishes,
Mark
@mark, are you sure you’re using 1.6.8? Because that line contains the view call that was added in .8 $DSP->body .= $DSP->view(‘home’, $vars, TRUE);
Yep definitely 1.6.8, localhost, brand new install. There are a few other modules and extensions installed so I’ll try on a completely blank install and see if that does anything different.
There isn’t anything different required to do to install the files are there? I mean they just go in the standard places don’t they.
Best wishes,
Mark
I just did a squeaky clean install of 1.6.8 running on an also freshly installed copy of MAMP and couldn’t replicate your issue Mark.
Are you putting the system folder below the root folder or anything like that?
I did notice that in the settings I’m asking if you want to be notified of updates even if LG Addon Updater isn’t installed, so I should fix that. Other than that it’s working fine for me.
Are you putting the system folder below the root folder or anything like that?
Not entirely certain what you mean by that?.
I have http://localhost:8888/ee168test/index.php as the main test site. The system folder is in the usual place which is http://localhost:8888/ee168test/system
Other than that it’s just a bog standard install of 1.6.8 like yourself. I’ll give it one more go and see what happens.
Best wishes,
Mark
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.