What is osCommerce?
osCommerce is a free program for running an online shop. You install it on your hosting. Then you add products and take orders. Right after installing, a few quick jobs make the store safe and correct.
Tip: osCommerce is older software. Newer versions, and similar shop programs, work in a similar way.
Step 1: Remove the install folder
The install folder can let a stranger reinstall your shop. Remove it now.
- Log in to the client area and open your hosting control panel.
- Open File Manager and go to your osCommerce folder.
- Right-click the folder named
installand choose Delete.
Step 2: Protect the config files
Two files hold your database details: includes/configure.php and admin/includes/configure.php.
- Right-click each file and choose Change Permissions.
- Set them to
444. That means read only, so nobody can change them by mistake.
Step 3: Protect the admin folder
- Rename the
adminfolder to something only you know, such asmyshop-admin. - Open
includes/configure.php. If it is read only, change its permission back to644first. - Inside the file, find the path lines for admin if present and update them. Open
admin/includes/configure.phpand update the folder name there too. - Set both files back to
444.
Also, think about adding a password to the admin folder with the Directory Privacy tool in your control panel.
Step 4: Set your store details
- Open your admin page in the browser and log in.
- In the left menu, click Configuration, then My Store.
- Edit these items by clicking each one and then Edit: Store Name, Store Owner, E-Mail Address, Country and Zone.
- Click Update after each change.
Step 5: Set up payments and shipping
- Click Modules, then Payment.
- Choose a payment method, click Install, then Edit to enter its details.
- Do the same under Modules, then Shipping.
Warning: Take a backup before making big changes. Do not use real payment details until you have placed a test order.
Quick recap
- Delete the
installfolder. - Make the two
configure.phpfiles read only. - Rename and protect the admin folder.
- Set your store details under Configuration, My Store.
- Set up payment and shipping modules, then test.