Web Authoring
  Home arrow Web Authoring arrow Page 4 - Basic configuration of osCommerce
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB AUTHORING

Basic configuration of osCommerce
By: PACKT Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 6
    2006-03-23

    Table of Contents:
  • Basic configuration of osCommerce
  • The Administration Tool
  • My Store
  • Maximum and Minimum Values

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Basic configuration of osCommerce - Maximum and Minimum Values


    (Page 4 of 4 )

    The maximum and minimum values deal with a variety of things ranging from governing customer information, to determining how many search results to present, to customer order history. Fortunately, most of these settings are pretty straightforward, so there isn't much that should cause problems here either. Before we show the default settings for Contechst Books, it is worth looking at a couple of things when determining the type of settings you want to put in place here.

    The first thing to do is to navigate to the customer registration page, which you can reach by clicking on the create an account? link on the site's index page. This will bring up a page consisting of a list of textboxes that your customers will use to enter their information in order to create an account. It's a worthwhile exercise to actually fill this information out with legal and illegal values (illegal values are those which do not meet the stated minimum requirements in your Minimum Values configuration page) to check how your application behaves and to give you a better appreciation for the values you are setting.

    For example, the minimum length of the date is given as 10 by default in the configuration section. Why ten? This is a bit strange because you only need six, or at most eight, characters to specify a date. Without looking at the "create an account" page, you might well change this value not realizing that osCommerce requires the user to input forward slashes to separate the days, months, and years provided in birthdates.

    With that said, there is nothing we are going to modify in this section for now, since all the default minimum values represent sensible options. It is recommended, however, that you still look through each and every setting and ensure you understand what each one does, as there are still options you may wish to consider at this point. Looking at the password setting, you might consider upping the minimum length to 6 in order to encourage greater security amongst customers—obviously, enforcing longer passwords reduces the risk of customers' accounts being hijacked.

    The Maximum Values section does not deal with customers, but more with how osCommerce behaves in terms of the number of items it displays in a variety of categories. While the default settings are pretty much spot on, there are a few settings worth looking over. The first two are self explanatory, although at this stage you might not be aware that Address Book Entries refers to the fact that customers can add several addresses to their account. This allows them to specify different mailing addresses depending on where and who they want purchased good to go to.

    The Page Links value specifies the maximum number of links that will be shown on a results page. For example, if you set this to 5, then assuming you have enough products or results, you will get the following link structure:

    1 2 3 4 5 [Next >>]

    If you set it to 10, you would get:

    1 2 3 4 5 6 7 8 9 10 [Next >>]

    Categories to List Per Row might cause some confusion as it is not particularly clear what this refers to. To see how this influences your site, go to any one of the default links under the Categories section of the index page in your catalog site. If, for example, you go to the Hardware option, you will be presented with the following screen (notice that the background color is still darker than the original color, since we changed the setting for this in a previous chapter):

    The main thing to note here, though, is that there are three columns of subcategories shown. If you don't already have a window open with your Maximum Values settings page in the admin tool, then open one up and change the default value for Categories to List Per Row to 1. Refreshing the Categories page will give you the following result:

    From this you can see that this setting governs how many columns are used to present the categories of products you have in your store. Simple once you know, but it can be tricky to find this out if you don't. Some things to consider when deciding on this setting are:

    1. How big your product category images (if any) are going to be
    2. How wide your page is going to be
    3. How many product subcategories, on average, you are going to have

    Once again, the default setting is fine for the demonstration site, but this illustrates quite well that some thought should go into each and every setting—even if the end result is simply leaving the value as is.

    The rest of the values in this section are pretty self explanatory, and it is left to you to go through each one and make a decision regarding what your preferences are for your own site. If you have any doubt about what a setting does, then leave it as the default. Remember, you can always come back to this section and change the values to suit your needs at any stage.

    Please check back next week for the second part of this article. 


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · This article is an excerpt from the book "Building Online Stores with osCommerce:...
     

    Buy this book now. This article is excerpted from Building Online Stores with osCommerce: Professional Edition, written by David Mercer (PACKT, 2005; ISBN: 1904811140). Check it out today at your favorite bookstore. Buy this book now.

    WEB AUTHORING ARTICLES

    - Yahoo Pipes: Worth a Look
    - Completing an EAR
    - Building and Deploying an EAR
    - New Nuke Security Sentinel: Worth Taking a C...
    - Administering Your CMS-Based Web Site
    - What You Need to Know Before Using a CMS
    - Introducing the Google Maps API
    - An Overview of the Yahoo User Interface Libr...
    - Basic configuration of osCommerce, concluded
    - Basic configuration of osCommerce, continued
    - Basic configuration of osCommerce
    - Deploying your Site with PHPEclipse, continu...
    - Deploying your Site with phpEclipse
    - Macromedia Captivate Review
    - Macromedia and Adobe Planning to Tie the Knot







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek