Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How-to Install Vanilla


arombaut

Recommended Posts

Posted

Can somebody please explain to me or point me in the right direction of how to install OSCommerce without the default products and the .gifs on every page? There are 46 files that have to be gone through and lines commented out (or removed) so that the images will not be displayed. I understand that I could just remove all the .gifs in the /images directory, but that is horrible coding standard and just plain lazy. I would also like to be able to install only the tables and data necessary to run OSCommerce. I have to go through each applicable table in PHPMyAdmin and use the 'Empty' tab in order to reset the key values. This is quite cumbersome. I understand that I could go in and edit the install script so that it does not insert any of the defaults, but again, this is cumbersome.

 

Please do not take me for being lazy, but when software is written, I should have the option to install the software with or without products and images. I apologize if I rubbed anyone the wrong way and I do like OScommerce, I just feel that this would be an item of interest. Thank you for any responses you may give.

Posted

Can somebody please explain to me or point me in the right direction of how to install OSCommerce without the default products and the .gifs on every page? There are 46 files that have to be gone through and lines commented out (or removed) so that the images will not be displayed. I understand that I could just remove all the .gifs in the /images directory, but that is horrible coding standard and just plain lazy. I would also like to be able to install only the tables and data necessary to run OSCommerce. I have to go through each applicable table in PHPMyAdmin and use the 'Empty' tab in order to reset the key values. This is quite cumbersome. I understand that I could go in and edit the install script so that it does not insert any of the defaults, but again, this is cumbersome.

 

Please do not take me for being lazy, but when software is written, I should have the option to install the software with or without products and images. I apologize if I rubbed anyone the wrong way and I do like OScommerce, I just feel that this would be an item of interest. Thank you for any responses you may give.

Deleting the image directory would probably not be the best of ideas. So, what I did was create a 1x1 pixel transparent image and replaced all the .gifs I didn't want. Solves the main issue without messing with the coding.

 

Can't help you with the other stuff though. Choice of installable features would be neat to have.

Posted

In the install package there is a catalog/install/oscommerce.sql file, that loads up the database, including all the sample store stuff. It would be nice to ship osC with the sample store stuff separated out into a separate .sql file, so you could load it (or not) as you wish. The load-sample-store would include the INSERT INTO commands for categories, categories_description, manufacturers, manufacturers_info, products, products_description, products_attributes, products_attributes_download, products_options, products_options_values, products_options_values_to_products_options, products_to_categories, reviews, reviews_description, specials, tax_class, tax_rates, geo_zones, and zones_to_geo_zones. And of course, a .sql file to remove said items. This still leaves the problem of all the extra images associated with the sample store. That might be dealt with by a shell script or batch file to move these images to and from a separate sample-store directory. Once you have your store up and running, and no longer need the sample store stuff, you could just delete the sample-store directory.

 

I doubt we'll see this done for 2.2, but maybe it will show up at some point in 3.0.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...