|
|
|
Click on the |
|
A good place to get started here is in "My
Store". This setup is like most other carts. Highlight
a title, click on it and either hit the "Edit"
button on the right to change its value or type it in the text box and
hit "Update". The entire
back end of osCommerce follows this basic procedure and is fairly easy
to use for anyone with basic knowledge of a PC, website administration
or the internet in general. |
|
If you already are familiar with the PHP scripting language skip the rest of this tutorial. The following is for beginners or those who have never edited code before. Basic Configuration of your main Storefront page: www.yourdomain.com/catalog/default.php |
Assuming your cart is in English: There are 2 PHP documents you should edit in order to customize your storefront. Login to your site via the control panel, click on WebShell and Download/open these 2 documents that you will see in the WebShell file management system. When you highlight the pages in WebShell, you will notice open and edit buttons on the right hand side. Path: /yourdomain.com/catalog/includes/languages/english.php This is not a PHP lesson, this is the simple procedure to help you perform basic customization: 2 important things to remember if you've never edited PHP before: Any line that starts with "define" can be edited, for example: Do not touch anything else in blue unless you know what you are doing! Open default.php using WebShell
or WordPad: |
define('TEXT_MAIN', 'This
is a demonstration online-shop, <b>any products purchased will not
be delivered nor billed</b>. Any information seen on these products
are to be treated fictional.<br><br>If you wish to download
this sample shop, or to contribute to this project, please visit the <a
href="http://oscommerce.com"><u>support site</u></a>.
This shop is based on <font color="#f0000"><b>'
. PROJECT_VERSION . '</b></font>.'); |
What\'s New
Here? Which is the page "heading
title" can be easily modified. As can anything I've highlighted in
RED. |
Tips: 2. You can insert some HTML tags like <b> or <font> in between the ' ' where the text resides. For example: define('TEXT_SHOW', '<b>Show:</b>'); 3. When you are done editing
any PHP file, upload it back where you got it from and refresh your storefront
page to see the changes. In WebShell
make sure the properties of the PHP file are marked as "Executable"
on the right hand side. |