Custom Gateway - Customer Support


Welcome to the Custom Gateway Support Portal

Here you can raise support tickets and read articles on common queries using the topic sections and search below

Setting up the Groupon Code Voucher Script

Follow

You must have bought the groupon extension from the bnetcentric site: http://www.bnetcentric.co.uk/add-3d-products-to-your-website-112.html

The following are installation instructions for users who have bought this:

1) Create a folder called codeimport in root folder of the website

2) Copy codeimport.php into codeimport folder.

3) Change permission to 777 for the whole folder

4) using a text editor change the following in codeimport.php:

-------------------------------------------------------------------

line 256: 
$to = " "; // insert your email to get error or succes message (if the import was succesfull or not) 

-------------------------------------------------------------------

line 259: 
insert for example something@nameofyourstore.com 
$from = " ";

------------------------------------------------------------------- 
line 385: 
replace: address...with site address 
user:.....with database user 
pass:.....with database pass 
in $con = mysql_connect("address","user","pass"); 
-------------------------------------------------------------------

line 392: 
insert database name 
in mysql_select_db("database name", $con) .... instead of database name 
------------------------------------------------------------------- 
line 628:

replace: address...with site address 
user:.....with database user 
pass:.....with database pass 
in $con = mysql_connect("address","user","pass"); 
------------------------------------------------------------------- 
line 635: insert database name

in mysql_select_db("database name", $con) .... instead of database name

--------------------------------------------------------

For the first time of using this import and if there are no groupon codes in magento you will see Warning message

5. To access script follow the link below:

script is available at http://www.yourwebsite.com/codeimport/codeimport.php (yourwebsite.com being the url of your domain).

Was this article helpful?
0 out of 0 found this helpful

Comments