joyjoy:
Hi Skip! Thanks for another great mod! Just one question on modifying the way this functions.
I would like to allow customers to be entered in a contest only when feedback is left. Is there a way that it can be integrated with the product review form? Not sure if this is possible.
Also, if it can't be done this way, can I still enable the contest features without an actual "Enter our Contest" link placed on my site? I was thinking that I could just have it run in my admin, manually enter customers when they meet the contest criteria (leaving feedbacK) and just have the contest rules/winners display on the site? Would this work?
I hope that makes sense. Thank you!
BACKUP
I have attached a zip file that has two files in it, unzip and change the YOUR_TEMPLATE folders to your template folder name.
You should rename the 2 original files on your site. And then upload these 2 new files in there place.
You will see in the tpl_contest_default.php file this code at about line 21.
// this is not in the data base hard coded here
// true = the customer must have a product review
// false = no product review needed
define (CONTEST_ALLOW_REVIEWS, 'true');
That is the only way to activate and deactivate reviews required.
- the customer must be logged in
- the customer must have at least 1 product review
Note: the review needs not to be approved for this to work.
Skip