Coupon 4Pro Instructions:
1) Go to your cpanel url and enter your login info. Then go
to MySQL database:

2) You can use a previous database or create a new database. In this sample I put "coupontest".
Remember that at the end your database will be something like: "XXXXX_coupontest". Double check the name of
the database once created. It differs for different hosting accounts.

3) Create a new user. I use "coupadmin" with password "coupadmin2k8". Remember that
at the end your user will be something like: "XXXXX_coupadmin". XXXX will be replaced by something else.

4) Assign permissions in your database to your user. This can be done adding the user to the
database with all checked.

5) Check that everything is ok, the user with all privileges to your database.

6) Go to PhpMyAdmin to create the tables.

7) Select the “XXXXX_coupontest” database and go to the SQL tab. Then copy and paste the sql script to create
database structure
NOTE. You can find the sql file at the folder where you
install Coupon 4Pro (coupons.sql).
Then press Go.

8) If everything is ok, you can check the tab Structure where you found the 2 tables
created.

9) Now we are ready customize the application. First install main application and go to the settings button.

10) Enter the settings. Pay special attention to the names of the database and user that have the
prefix “XXXXX_” since this is the exact name in the Mysql server. Also check the site url, i.e. http://www.yourdomain.com/coupons. It means that you have to create a
“coupons” folder in the root of your site. This folder will contain the necessary php scripts to make application
work. The name could be other but you have to specify here and save settings.

11) When you save settings, application customize the coupsettings.php file. Then we need to upload this file
and the other 2: couponsactions.php and coupinvalid.htm to your webserver in the folder you specify, in your case
http://www.yourdomain.com/coupons. This is an screenshot of the ftp
client software.

12) Now just upload the 3 files to this folder and we are done with the install!

13) Now let’s create a coupon for test. I generated a random code and let the settings as
default, also put a sample discount order page.

14) As you can see the coupons was created, in a similar way you can edit and delete coupons.
Application will exchange data with the database using the php scripts and settings you uploaded
in previous steps.

15) Now let’s check the use of a coupon.
Application generate a form code that user can put in his custom web pages.

16) Just copy and paste this code inside a sample html page in any html editor.

17) Now user just need to put
this page in his site (could be an external site not the same where you put the “coupons” folder). This work like
the optin software, just a web form that allow enter a code, if code is approved it will redirected to the Redirect
URL associated with this coupon if fail it will go to the coupinvalid.htm that you upload.
18) User can track the statistics of the use of his coupons
pressing the Statistics button in the main application. Of course need to have some data in the
database
|