Location: PHPKode > scripts > O-Module Easy Order Form > o-module-easy-order-form/config.php
<?
####################################
#                       Powered by LoginetSolutions                              #
#                         www.loginetsolutions.com                                  #
####################################

//general settings
$myCompanyName = 'Blah blah company name';
$from_email = 'hide@address.com';
//terms = ""; means terms will not appear in the form; you can use html to format the terms & conditions like below
$terms = "<span style='padding:5px;'><font color='red'>PAYMENT</font></span><P style='padding:5px;'>Once we receive your order information, we will send you a Paypal invoice by email.";
$terms .= "You can expect to receive this invoice within 24 hours of submitting your order. A 50% deposit ";
$terms .= "must be received, via Paypal, before we can start the work.<br>";
$terms .= $myCompanyName." <b>cannot be held responsible</b> for ....</P>";

####################################
//upload files;  will be  available in the next version of O-module
$uploadFiles = 0;
//Miscellaneous Information;  will be  available in the next version of O-module
$miscInfo = "no";


####################################
//form fields

//contact section
$company = 'yes'; //values: yes or no
$phone = 'yes'; //values: yes or no
$contactmeby = 'yes'; //values: yes or no
$website = 'yes'; //values: yes or no
$comments = 'yes'; //values: yes or no

//shipping section
$shipping = 'yes';//values: yes or no
$ship_address = 'yes'; //values: yes or no
$ship_city = 'yes'; //values: yes or no
$ship_zip = 'yes'; //values: yes or no
$ship_state = 'yes'; //values: yes or no
$ship_country = 'yes'; //values: yes or no


####################################
//product categories+options

//interestedin dropdownlist + options
$interestedin = 5; //values: 0 = not appear in the form ; add how many you want as soon you put same number of options below; 

$interestedInOpt[1] = 'products';
$interestedInOpt[2] = 'services';
$interestedInOpt[3] = 'custom';
$interestedInOpt[4] = 'four';
$interestedInOpt[5] = 'five option';
####################################

//categories names & options below

//path to the images; do not change the path, only the image name; better images size: 120 x 90; you need to cut the images yourself :(
$path = 'images/prod/';

####################################
//how many checkboxes;   if you change this number be sure you have X option variables;
//add how many you want as soon you put same number of options below;
//$category = 0; means this category is not apper in the form
$category1 = 6; 
$cat1Name = 'Category One';

//description for every option
$cat1OptDesc[1] = 'First product';
$cat1OptDesc[2] = 'Second product';
$cat1OptDesc[3] = 'Third product';
$cat1OptDesc[4] = 'Fourth product';
$cat1OptDesc[5] = 'Fifth product';
$cat1OptDesc[6] = 'Sixth product';

//quantity for every option; minimum order I mean
$cat1Qty[1] = 10;
$cat1Qty[2] = 1;
$cat1Qty[3] = 20;
$cat1Qty[4] = 5;
$cat1Qty[5] = 100;
$cat1Qty[6] = 10;

//images for category one
$cat1Imgs[1]="image1.gif";
$cat1Imgs[2]="image1.gif";
$cat1Imgs[3]="image1.gif";
$cat1Imgs[4]="image1.gif";
$cat1Imgs[5]="image1.gif";
$cat1Imgs[6]="image1.gif"; 


####################################
//how many checkboxes;   if you change this number be sure you have X option variables;
//$category = 0; means this category is not apper in the form
$category2 = 4; 
$cat2Name = 'Category Two';

//description for every option
$cat2OptDesc[1] = 'First product';
$cat2OptDesc[2] = 'Second product';
$cat2OptDesc[3] = 'Third product';
$cat2OptDesc[4] = 'Fourth product';

//quantity for every option; minimum order I mean
$cat2Qty[1] = 1;
$cat2Qty[2] = 1;
$cat2Qty[3] = 1;
$cat2Qty[4] = 2;

//images for category two
$cat2Imgs[1] = 'image1.gif';
$cat2Imgs[2] = 'image1.gif';
$cat2Imgs[3] = 'image1.gif';
$cat2Imgs[4] = 'image1.gif';

####################################
//how many radiobuttons;   if you change this number be sure you have X option variables;
//$category = 0; means this category is not apper in the form
$category3 = 3; 
$cat3Name = 'Category Three';

//description for every option
$cat3OptDesc[1] = 'First product';
$cat3OptDesc[2] = 'Second product';
$cat3OptDesc[3] = 'Third product';

//quantity for every option; minimum order I mean
$cat3Qty[1] = 1;
$cat3Qty[2] = 1;
$cat3Qty[3] = 1;

//images for category  three
$cat3Imgs[1] = 'image1.gif';
$cat3Imgs[2] = 'image1.gif';
$cat3Imgs[3] = 'image1.gif';
####################################
#                       Powered by LoginetSolutions                              #
#                         www.loginetsolutions.com                                  #
####################################
?>
Return current item: O-Module Easy Order Form