Category improvement of navigation: abin Time: 2004.10.14 Source: http: //blog.9cbs.net/abinstudio
In the previous commodity navigation analysis ("establishing a reasonable commodity class and navigation class") established two-level commodity classification and level navigation directory, from the classification of goods, a three-level classification has been implemented. But in order to meet a clearer navigation case, the three-level classification navigation is not enough. Here are an example to explain:
"Computer Comprehensive >> Computer Machine >> Laptop"
"Computer Comprehensive" is a navigation class, "computer machine" is the primary class (below any goods) "Laptop" is the subclass (the directory where the product is in the development of small-sized e-commerce company, their goods have There are also fewer, there is another situation is a lot of goods in these e-commerce companies, and some categories have little. If there is only a small amount of several or more items in a secondary directory to meet the requirements, but if there are dozens of or hundreds of pieces, then the three classification cannot meet the needs, customers will not find themselves The items you want to exit the website, which is what we don't expect. There are two ways to solve the above problems, 1. It is to search for in the station, 2. Add the fourth class classification. We don't discuss the search in the station, because the site search is an e-commerce website must be necessary to make up for the above shortage. Therefore there is only a fourth class. Considering the fourth classification from flexibility, the fourth class is not fixed (because there are few items, there is no need to divide four levels), that is to say that you can't rule each classification requires four levels, which violates the design principle - flexibility . Maybe you will feel very simple, that is, when you classify, you can plan, multi-commodity class, less class three, this idea is right, but the goods are changing, this time this time More, as the company's development may have changed a lot of products that are not available, what should I do at this time? Since it is a third level, you must re-divide all such goods. This is still against the design principles - flexibility, this is a long-term angle flexibility. First analyze what the three-level catalog is lacking "Computer Comprehensive >> Computer Machine >> Laptop", the lowest first-level directory in this three-level directory is "laptop", if you want to divide the fourth level? price? CPU configuration? Brand? ...... After considering that the brand is the commonality of all goods, this common nature is not only in "laptop", and there is also a product, such as "printer" "mobile phones". After finding a commonality, analyze how to use this class. If it is a simple addition to the database's product secondary classification, the original secondary classification becomes three classification so that the previous article is discussed, completely destroyed the catalog of the product catalog. Performance and scalability. So this is not intended to add the fourth-level catalog to the second class class, but from the new creation of a productBrands table, the brand stored in this table, the table structure is as follows:
Original product secondary classification form: ------------------------------------------- ------------------------------------- CategoryId Description ParentcategoryID 1 Computer Machine NULL 2 Laptop 1- -------------------------------------------------- ---------------------------- Added Table:
ProductBrands: ------------------------------------ -------------------------------- Productid CategoryId BrandValue 1 2 Lenovo 2 2 Foundation 3 2
-------------------------------------------------- ------------------------------ PK: ProductID, CategoryId
When you have the above table, you can retrieve this table when you read a commodity class. Read all the product brands under transit, will have the following effects:
Computer Synthesis >> Computer Machine >> Laptop >> Lenovo Foundation
About the brand can read DropDownList so that customers can switch their products they need to find, and of course, they can also create a navigation bar based on brand classification. It is assumed that when reading the "laptop" class, read all this Class items (all brands are all), then customers choose the specific brand you want to view on the brand navigation bar, so you can filter out the unwanted brand information. In this way, the customer who "impulsive consumption" is satisfied because they are looking for goods, but they only see that I haven't thought about it, I also meet "cautious consumption" customers, because they can be very careful, fast Find the goods they are looking for, not lost in the goods.
Summary, combined with "establishing a reasonable commodity and navigation class" with this perfection, basically establish a strong e-commerce system navigation, of course, customers are always picky, goods are also diverse, some special commodity navigation design needs Special treatment, you can't step down.