Home » OSCOMMERCE » Basic Oscommerce Tutorials

Basic Oscommerce Tutorials

tweetme

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 11 other followers

1. Initial setup of your Store – Configuration

The whole admin section of osCommerce follows the following basic principle and is reasonably easy for anyone with a basic computer knowledge to administer.

To complete the following on your own installation of osCommerce
– highlight an item by clicking onto it, then click the edit button. Add or update the entry and finally click the update button.

Login to the Admin section of your osCommerce store

Then follow the Configuration link, then the link My Store – here you should update/change the following:

1. Store name – The name of the store.
2. Store owner – The company name that owns the store.
3. E-Mail Address – The “from” email address in the customer’s order email.
4. E-Mail From – Your store general email address.
5. Country – The country you are from.
6. Zone – The zone your store is located, necessary for taxes later.
7. Send Extra Order Emails To – The email address to send duplicate order details.

2. Logo – adding your own image

Use FTP to change the default logo

The main logo is located here:
http://www.your–domain.com/catalog/images/oscommerce.gif

The easiest method to replace this logo is to over-write the original with your own logo.

Other images that you may find useful to change are located in this folder:
http://www.your–domain.com/catalog/images/infobox/

3. Modify the colours – the cascading style sheet

Your sites style sheet

The style and colours of your store are controlled by a single css file:
http://www.your–domain.com/catalog/stylesheet.css

Changing the colours, font sizes, font colours, margins, etc. can be done very easily for the entire store using this file.

Detail on how to change css files can be found here: http://www.htmlhelp.com/reference/css/

4. Further customisation – PHP files

Altering default settings within PHP files

The two PHP files below that hold many default settings including the footer text and page title that appears on all your store pages, and the date format that will be used within your store.

http://www.your–domain.com/catalog/includes/languages/english.php
http://www.your–domain.com/catalog/includes/languages/english/index.php

Below is a guide to editing PHP files for those that do not have any previous experience of the PHP scripting language.

1.

Copy the following file from your server to your PC:
http://www.your–domain.com/catalog/includes/languages/english/index.php

(make a separate backup of the file to a safe location, in case you break the original!).
2.

Then open the file with notepad or your favourite text editor.
3.

On line 23 the following text appears:
define(‘TEXT_MAIN’, ‘Add your own text message here
– open /catalog/index.php and change the text for TEXT_MAIN.’);
4.

We are going to change the value assigned to TEXT_MAIN to My Store Name. Change the entry to:

define(‘TEXT_MAIN’, ‘My Store Name.’);

All we have done is change the text on the right. The main objective to note here is the text which we changed is on the right between the single quotes (‘), the constant TEXT_MAIN does not change.

You MUST ensure the text you add is within the single quotes. If you need to add a single quote within the text you are adding for example:
Seiretto’s Shop
You must add a slash to the text, so it is entered like this:
Seiretto\’s Shop

Double quotes can be added in the same way.

For more in-depth details see: http://uk.php.net/manual/en/function.define.php

Need to fully modify your hosting account? Then you should consider your own fully managed dedicated server.

5. TIP – How to find and alter text phrases on pages of your store

TIP: If you wish to change a text phrase displayed on any page of your store and need to find which PHP file holds the details:

1.

Copy the whole of your /catalog/*.* files and sub folders from your server to your own PC.
2.

Select and copy the text phrase which you wish to change from the page on your store.
3.

On you PC highlight the “\catalog\” folder and right click your mouse button and select search.
4.

In the input box named “Search for files or folders named:” enter:
*.php
In the input box named “Containing text:” paste in your:
text phrase

5.Then open and edit the PHP file as described here.

6. How to remove/modify unwanted languages

Login to the Admin section of your osCommerce store

Then follow the Localisation link, then the link Languages

– here you should update/change the Languages required.

OR, if you do not need the languages box to appear at all:

1. open the following file with notepad or your favourite text editor:

\includes\boxes\languages.php
2. and delete all contents (note that you are deleting the CONTENTS of the file, and not the file itself).

7. How to configure to receive copy orders via email

Login to the Admin section of your osCommerce store

Then follow the Configuration link,

– here you should update/change Send Extra Order Emails To as required.

Advertisements

4 Comments

  1. Ron says:

    Do you know why the really good websites
    tend to be completely filled with garbage opinions? Do others possibly
    read when people submit?

  2. I blog often and I really thank you for your information.

    The article has really peaked my interest. I am going to take a note of your blog and keep checking for new information about once a week.
    I subscribed to your RSS feed as well.

  3. Jorge says:

    It’s in reality a nice and helpful piece of information. I am happy that you shared this useful information with us. Please keep us informed like this. Thank you for sharing.

  4. When someone writes an piece of writing he/she keeps the plan of a user in his/her brain that
    how a user can know it. Therefore that’s why this piece of writing is great. Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: