5.5.1. Product Categories
Prev | 5.5. Product Administration | Next

mambo-phpShop

#### 5.5.1. Product Categories

##### Adding Product Categories

mambo-phpShop includes the ability to associate products to product categories and subcategories to enable better site management. To create a new product category, open the Product Category Form: "Products" => "Add Category".

List Categories

##### Product Category Fields

Publish?

  Used to specify whether the category will be published on the site.

Category Name

  The name that will be used to identify the category.

Category Description

  The description that will be displayed for the category.

ListOrder

  The Place of this category in a list with other categories.

Parent

  The parent category with which this category will be associated. If the category is to be a top level category, leave the Parent drop down list with the Default Top Level selected . If the category is to be a sub category of an existing category, choose the appropriate parent category from the Parent drop down list.

Category Browse Page

  Example: browse_1

  The template file for displaying the products of this category in a list.

Show x products per row

  The number of products per row when displaying products of this category.

  | Note
  The Browse Page usually has to be adjusted when the number of products per row has been changed. You can use browse_2 for 2 products per row, browse_3 for 3 products per row and so on (maximum per default: 5).

Category Flypage

  Syntax: shop.flypage

  This is the template file for displaying the Product Details of a product in this category. You can create your own templates by modifiying existing templates (in the directory `/html/templates`).

  The file for preparing the display of the Flypage is `/html/shop.product_details.php`. Some of the details that you can't find in the Flypage template can be found there.

  | Note
  You should leave this field empty when you're not sure what to fill in.

##### Editing Product Categories

To edit an existing product category, you have to access the Category Tree: "Products" => "List Categories". Now click on the name of the product category you want to edit to display the product category entry form for that product category. Make your changes and click the Save button at the top of the form to update the product category.

##### Deleting Product Categories

Before deleting an existing product category, all sub categories associated to the product category must be removed through either deletion or re-association. mambo-phpShop will not allow the deletion of a product category while subcategories still exist for that product category. Once all subcategories have been removed, access the Category List via "Product" => "List Categories". Either you click on the Trash Bin icon in the last column of the category you want to delete OR you click on the name of the product category that you want to delete to display the product category entry form for that product category. Then click on the Delete button at the top of the form to delete the product category.

mambo-phpShop

Prev | Up | Next
5.5. Product Administration | Home | 5.5.2. Products