osCommerce Source

If anyone is looking to set up an online store that supports free shipping and purchases, downloads, an event calendar, visible products without stock, and all the perks of osCommerce, this code is for you. Let me just warn you, though: the zip is kind of big. It’s about 48 mb. I could have taken a couple things out to make it smaller, but I left them in so that there was a demonstration.

Installation instructions (assuming there is not existing osCommerce installation. If there is, I’d just compare files or whatever to add my features. If you haven’t done any mods, just save your configs and add mine (and your language files so you have your main page’s text))

  1. Download my version from http://quad341.com/projects/osc-at-shop.quad341.com.zip
  2. Create a mysql database and make note of the host, username, and password
  3. Extract the zip of all the code
  4. Import the shop.quad341.com.sql text or shop.quad341.sql.gz g-zipped version into the database (gz is a lot smaller and hence faster to upload and import into the database if your method of importing supports it)
  5. Modify /includes/configuration.php and assign variables as they should be. You will need to know the physical location of these files on the server as well as the domain and all the database information. Consult the comments to determine what a variable needs to be set to
  6. Modify /admin/includes/configuration.php in a similar way as above. Again, reference comments for further details
  7. Upload All of the files to where you specified in the configuration files
  8. CHMOD the following as specified:
    • /images (dir) 0777
    • /admin/includes/configure.php (file) 0644
    • /admin/backups (dir) 0777
    • /admin/images/graphs (dir) 0777
  9. Password protect the admin directory (probably via a .htaccess setting. if you are using a control panel, it should be able to help you, else google)
  10. Log into the admin section and go to the configuration and start setting up your store as you want it! Feel free to delete any of the example data contained.

That should get you up and running from scratch. FYI: osCommerce is distributed under the GPL v2.

You can take a look at my demo store at http://shop.quad341.com/ but I am not providing access to the admin panel. sorry!

My ideas are still growing too…