[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re:Shopping carts for Raq 4



A number of people requested info on free versions of oscommerce that are
pre-loaded with extensions.  The info I have is below. I bet anyone can get
this installed in under an hour.

OScommerce has a great user community.  There are forums and an area for
user contributions. I use it at my store at http://www.crimescene.com/store/

I use a loaded version called SEC, Shoppe Enhancement Controller v2.2 for
MS2 
You can download it at the address below. Its free, but you need to register
and purchase it for zero dollars.
http://www.thewebmakerscorner.com/freecall/product_info.php?cPath=49&product
s_id=130
You can get support for this at the oscommerce forums.

Lots of folks use AABox MS2-MAX You can download it below. It is also free.
http://www.oscdox.com/modules.php?op=modload&name=News&file=article&sid=10&m
ode=thread&order=0&thold=0&POSTNUKESID=7cbdf8605b6c583d5c08e10330899819

Both of the above are based on the latest version of oscommerce and both are
supported by a user community. AA box has its own support forum. I use SEC
though because it was assembled by one of the oscommerce authors and is very
stable.

As a test, you may want to load a plain version of oscommerce available from
oscommerce.com

DOWNLOAD
http://www.oscommerce.com/downloads/milestones

FORUMS
http://forums.oscommerce.com/

CONTRBUTIONS
http://www.oscommerce.com/community/contributions

You can extend the basic version by adding contributions that extend its
ability. I just loaded a contribution that lets me print USPS barcode labels
directly from my order page, saving time and cutting errors.

The benefit of using a loaded version is that many contributions are loaded
and tested and that saves you time.

To install, the files just get uploaded and then two config files need to be
set with file paths.  The database is created via a script and
pre-populated. Incorrect config files are the cause of most problems. I have
pasted good config files below. Change to suit.

Thanks and good luck.
Tom


**************************
CATALOG CONFIG FILE
**************************
<?php
/*
  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
  define('HTTP_SERVER', 'http://www.DOMAIN-HERE.com'); // eg,
http://localhost - should not be NULL for productive servers
    define('HTTPS_SERVER', 'https://www.DOMAIN-HERE.com'); // eg,
https://localhost - should not be NULL for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
  define('DIR_WS_CATALOG', '/store/'); // absolute path required
  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are
enabled in PHP (which they are in the default configuration), this can be a
URL instead of a local pathname
  define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

  define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
  define('DIR_FS_DOCUMENT_ROOT', '/home/sites/site1/web');
  define('DIR_FS_CATALOG', '/home/sites/site1/web/store/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
  define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL
for productive servers
  define('DB_SERVER_USERNAME', 'xxxxx');
  define('DB_SERVER_PASSWORD', 'xxxxx');
  define('DB_DATABASE', 'database-name');
  define('USE_PCONNECT', 'true'); // use persistent connections?
  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set
to 'mysql'
?>


**************************
ADMIN CONFIG FILE
**************************

<?php
/*
  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
  define('HTTP_SERVER', 'http://www.DOMAIN-HERE.com'); // eg,
http://localhost - should not be NULL for productive servers
  define('HTTPS_SERVER', 'https://www.DOMAIN-HERE.com'); // eg,
https://localhost - should not be NULL for productive servers
  define('HTTP_CATALOG_SERVER', 'http://www.DOMAIN-HERE.com');
  define('HTTPS_CATALOG_SERVER', 'https://www.DOMAIN-HERE.com');
  define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog
module
  define('DIR_FS_DOCUMENT_ROOT', '/home/sites/site1/web'); // where the
pages are located on the server
  define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
  define('DIR_FS_ADMIN', '/home/sites/site1/web/store/admin/'); // absolute
pate required
  define('DIR_WS_CATALOG', '/store/'); // absolute path required
  define('DIR_FS_CATALOG', '/home/sites/site1/web/store/'); // absolute path
required
  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
  define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG .
'includes/languages/');
  define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG .
'includes/languages/');
  define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
  define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
  define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
  define('DB_SERVER', 'localhost'); // eg, localhost - should not be NULL
for productive servers
  define('DB_SERVER_USERNAME', 'xxxxx');
  define('DB_SERVER_PASSWORD', 'xxxxx');
  define('DB_DATABASE', 'database-name');
  define('USE_PCONNECT', 'true'); // use persisstent connections?
  define('STORE_SESSIONS', ''); // leave empty '' for default handler or set
to 'mysql'
?>