Do We Have a Shopping Cart Program?

 

We do not directly provide a shopping cart. We recommend the use of PerlShop for this purpose. PerlShop is written by the good people at ArpaNet and is free of charge so long as you maintain the copyright information and logos on it. You need to download the cgi and related files in compressed format from:

http://www.arpanet.com/PerlShop/perlshop.html

A complete manual for the installation and configuring of the program is available there.

Important Note

Because PerlShop is so customizable, writing one set of comprehensive instructions  specific to our system, beyond the below information, is not practical. While we can take a look at your setup and fix obvious errors, we cannot provide full service setup and design. If you do not feel comfortable with setting up the shop yourself, we recommend the services of hamassoc.com or our partner company PSDM.

We recommend working with your perlshop files and directories using telnet instead of FTP. The information pertinent to our system that will need to be edited in the perlshop.cgi file is as follows:

The path to the current version of perl (5.00404) is:

/usr/local/bin/perl

If you encounter errors, you may need to be specific about the perl version number your particular version of PerlShop requires. These versions are all available:

/usr/local/bin/perl5.001
/usr/local/bin/perl5.002
/usr/local/bin/perl5.003
/usr/local/bin/perl5.00307

You will be given the option to choose whether "cgiwrap" runs on our system. You want to choose "no", because cgiwrap does not run on our system.

$use_cgiwrap = 'no';

You will be given the option of choosing what mail protocol to use for sending PerlShop submissions. You want to choose the option, "sendmail". The path to sendmail on our system is:

/usr/sbin/sendmail

Tip: If you use cookies, let them expire after a few days. It is unlikely that a customer will return 20 or 30 days later to pick up a shopping session where they left off. This will help to reduce the number of cookies the server must store.

Now, let's say that your domain name is bob.com and your site is on our 20th server.Your server customization variables should look like:

$server_address = 'www.bob.com';
$secure_server_address = "https://www.secure.com/bob";   
$cgiwrap_directory = ' ';                                                                 
$cgi_directory = '/cgibin/MyStore';
$mail_via = 'sendmail'; ### Either 'sockets' or 'sendmail' or 'blat'
$blat_loc = 'c:\\winnt35\\system32\\blat';
$sendmail_loc = '/usr/sbin/sendmail';
$smtp_addr = '209.196.2.11';                   
$catalog_home = '/docs/catalog';
$home_page = 'index.html';        
$image_directory = '/docs/images';
$secure_image_directory = '/docs/images';
$image_location = "http://$server_address$image_directory";
$home_icon = 'home.gif'; ### must reside in $image_directory if it exists.
------------------------------------------------------------------------------------
$customers_directory              = $curr_dir . '/mnt/web/guide/bob/docs/customers';
$orders_directory                   = $curr_dir . '/mnt/web/guide/bob/docs/orders';
$catalog_directory                  = $curr_dir . '/mnt/web/guide/bob/docs/catalog';
$token_directory                    = $curr_dir . '/mnt/web/guide/bob/docs/tokens';
$temp_customers_directory   = $curr_dir . '/mnt/web/guide/bob/docs/temp_customers';
$temp_orders_directory         = $curr_dir . '/mnt/web/guide/bob/docs/temp_orders';
$log_directory                         = $curr_dir . '/mnt/web/guide/bob/docs/log';

We recommend creating the subdirectory named 'MyStore' in your /cgibin directory and placing the perlshop.cgi file there.  All other directories should be created within your /docs directory. For non-Microsoft® FrontPage® 2000 sites the following commands should be run from the telnet command prompt in your root directory:

chmod -R 755 cgibin
chmod 777 docs
chmod 777 docs/*

For Frontpage'98 sites, use these commands:

chmod -R 755 cgibin
chgrp -R bbsuser cgibin
chmod 777 docs
chmod  777 docs/*
chgrp -R bbsuser docs

Important Note

Because PerlShop is so customizable, writing one set of comprehensive instructions  specific to our system, beyond the above information, is not practical. While we can take a look at your setup and fix obvious errors, we cannot provide full service setup and design. If you do not feel comfortable with setting up the shop yourself, we recommend the services of hamassoc.com