| | Home |  | | |  | |
|  | |  | |  | |  | |  | | |  |  | | osCommerce
is one of the most popular and fastest
growing
ecommerce
packages available today. There are many, many clones of it but none
can match the simplicity and ease of use of the original. To learn more about using the
wonderful osCommerce package as an eCommerce Solution, just
click here! |  |
|
|  |  | osCommerce
can:
- Accept all major credit cards
- Easily manage unlimited products
- Track orders
- Report customers history
- and much more
|  |
|
|  | |  | |
|  |  |
|
|
| |  | FAQ |  |  | | This page contains the answers to many of the
problems that plague osCommerce webmasters. If you don't see an answer to your
question on these pages, please
contact us.
We generally respond within 24 hours. |
|  |
- How do I change the title in my shop?
- How do I change Top in the breadcrumb?
- How do I fix the following error:
"Warning: session_start(): Cannot send session cache limiter - headers already sent"
- Page displays unexpected T_STRING
- How do I add a new page to my shop?
- Why do my secure pages display a message that states, "This page contains both secure and nonsecure items?"
-
How do I change the title in my shop?
The shops title is contained in the includes/languages/english.php file. Open that file and search for this string
define('TITLE', 'osCommerce');
To change the title, you edit the word osCommerce. Be sure to leave everything else in place.
A better method of changing titles is to install the Header Tags Controller contribution. This will allow you to have unique titles and meta tags for all pages in your shop, which is very important for getting better search engine rankings.
[BACK TO TOP] -
How do I change Top in the breadcrumb?
The normal installation of osCOmmerce has Top -> Catalog displayed in the breadcrumb trail The suggested way to change this is to make just state Home. The following instructions will accomplish this:
-Open the includes/languages/english.php file in your editor.
-Find the line that contains HEADER_TITLE_CATALOG
-Change that line so it looks like this:
define('HEADER_TITLE_CATALOG', 'Home');
-Open the includes/application_top.php file in your editor, find the code $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); and remove it.
Note that our PageMaker Contribution will do this for you.
[BACK TO TOP] -
How do I fix the following error:
"Warning: session_start(): Cannot send session cache limiter - headers already sent"
The session start error usually means that an extra character (usually a space) has been added at the beginning or end of a file. If it is at the beginning, it will be easy to find since the first character should always be <. If it is at the end, you will need to move your cursor to the very end of the file and backspace until you reach the > character. The difficult part in fixing this problem is in finding the correct file. Always start with the last one you edited, the one in the url or the one mentioned in the error. Those are the most likely.
[BACK TO TOP] -
Page displays unexpected T_STRING
Php uses apostophes ( ' ) as control characters. If it encounters one where it shouldn't be, an error is generted. When writing text for a page, many people use contractions like what's instead of what is. The apostrophe in what's will cause this failure since the php code wasn't expecting to find it there. To get around this, add a backward slash (\) before the apostrophe so that it is what\'s. The file the error is in and the line number it is on, is given in the error. It will be something like:
Page displays unexpected T_STRING in /home/some path/some_file.php on line X,
meaning, in this example, the error is in some_file.php at line X.
[BACK TO TOP] -
How do I add a new page to my shop?
This example shows how to add an about us page to your shop: To add a page, first make a copy of the privacy file in the root directory (the same directory that the index.php file is in). Rename that copy to about_us.php. Open that file and replace all occurrences of FILENAME_PRIVACY with FILENAME_ABOUT_US. Next, make a copy of the includes/languages/english/privacy.php file and name it about_us.php. Open that file and change all occurrences of Privacy Notices to About Us. Open the includes/filenames.php file and add the following line anywhere before the ending ?>
define('FILENAME_ABOUT_US', 'about_us.php'); Add a link somewhere on your home page to the about us page and you are all done.
[BACK TO TOP] -
Why do my secure pages display a message that states, "This page contains both secure and nonsecure items?"
Secure and non-secure content, or mixed content, means that a webpage is trying to display elements using both secure (HTTPS/SSL) and non-secure (HTTP) web server connections. This often happens with online stores or financial sites that display images, banners, or scripts that are coming from a server that is not secured.
The nonsecure link that is causing the problem will have to be found and either removed or edited so that it works with secure pages.
[BACK TO TOP]
|
|  |
|  | | |