![]() MetroCredit©
|
------------------------ Define the variables in the ccart.cfg as follows: ##################################### # Database Functions $databaseurl = $baseurl . "/shopcart/cgi/database.pl"; $adminurl = $baseurl . "/shopcart/cgi/ccadmin.pl"; $imageurl = $baseurl . "/shopcart/images"; $trackdb = "track.db"; # tracking database $resourcedb = "database.db"; # Item Database $passwd_file = "passwd.txt"; # Admin Password File # Header & Footer for Admin $adheader = "header.html"; $adfooter = "footer.html"; # fileds in the database @split_table_fields = ('itemid', 'name', 'price', 'descrip', 'image', 'weight', 'itemurl', 'group', 'Junk'); $idfile = "item.id"; # All the ID file does is store an integer # Allow images. yes = 1, no = 0; $useimage = 0; #Display the product ID number? yes = 1, no = 0; $useid = 1; # List all your groups here: (group name , 'how it will appear') %groups = ('cs', 'Cassette', 'cd', 'Compact Disc', 'dv', 'Video CD','sd', 'Some Dic'); $numtolist = "20"; ##################################### # Tracking Functions # use Tracking. yes = 1, no = 0; $usetrack = 1; # Status possibilities. %trackoption = ("pending", "Not Processed", "processed", "Processing", "shipped", "Shipped", "error", "Problem with order"); # If you want additional text sent to the user (when sent update e-mails) %tracktext = ("shipped", "Your order has been sent out, please contact me with any additional info!\n"); # E-mail) when orders are processed. yes = 1, no = 0; $passivetrack = 1; #####################################
|