DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Shop Categories

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed by:Holzinger Franz
Changed:2011-02-02T19:20:55
Classification:mbi_products_categories
Description:forAdmins,forBeginners
Keywords:tt_products, shop category
Author:Franz Holzinger
Email:franz@ttproducts.de
Info 4:
Language:en

img-1 img-2 EXT: Shop Categories - mbi_products_categories

EXT: Shop Categories

Extension Key: mbi_products_categories

Language: en

Keywords: tt_products, shop category

Copyright 2005-2010, Franz Holzinger, <franz@ttproducts.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: Shop Categories 1

`Introduction 3 <#2.1.Introduction|outline>`_

What does it do? 3

Screenshots 3

`Users manual 4 <#2.2.Users%20manual|outline>`_

Limit to show only the categories from a page. 4

`In the Extension Manager you must activate the checkbox “Use storage page id”: 4 <#2.2.1.0.1.In%20the%20Extension%20Manager%20you%2 0must%20activate%20the%20checkbox%20%E2%80%9CUse%20storage%20page%20id %E2%80%9D:|outline>`_

`[useStoragePid] 4 <#[useStoragePid]|outline>`_

`Set this, if you want to use the page ids set in the General Record Storage page of the page properties. 4 <#Set%20this,%20if%20you%20want %20to%20use%20the%20page%20ids%20set%20in%20the%20General%20Record%20S torage%20page%20of%20the%20page%20properties.|outline>`_

`Then go to the folder where the products are and edit the page properties. Under the options you set “General Record Storage page” to the page where the categories are located. 4 <#2.2.1.0.2.Then%20go%20t o%20the%20folder%20where%20the%20products%20are%20and%20edit%20the%20p age%20properties.%20Under%20the%20options%20you%20set%20%E2%80%9CGener al%20Record%20Storage%20page%E2%80%9D%20to%20the%20page%20where%20the% 20categories%20are%20located.|outline>`_

` 4 <#2.2.1.0.4.%20|outline>`_

`Adminstration 5 <#2.3.Adminstration|outline>`_

`Configuration 6 <#2.4.Configuration|outline>`_

FAQ 6

Reference 6

`Known problems 7 <#2.5.Known%20problems|outline>`_

`To-Do list 8 <#2.6.To-Do%20list|outline>`_

`Changelog 9 <#2.7.Changelog|outline>`_

Introduction

What does it do?

This provides one hierarchical category for each product of tt_products

On http://ttproducts.de you can get a successor of this extension (sponsor fee), which allows you to assign many categories to each product. Then this product will be listed in product lists besides of a category list for each of the categories which you have assigned to the product. You choose the category in the category list, and then all products will be listed in the products list, if these products have the current category set.

Screenshots

Users manual

Limit to show only the categories from a page.

In the Extension Manager you must activate the checkbox “Use storage page id”:

[useStoragePid]
Set this, if you want to use the page ids set in the General Record Storage page of the page properties.

Then go to the folder where the products are and edit the page properties. Under the options you set“General Record Storage page” to the page where the categories are located.

img-3

Adminstration

You just have to install the extension to be able to have hierarchical category lists from tt_products and to be able to enter hierarchical categories for each product in the TYPO3 backend.

Configuration

Example for usage of nsbcat2menu:

lib.nsbcat2menu = HMENU
lib.nsbcat2menu.special = userfunction
lib.nsbcat2menu.special.userFunc = tx_nsbcat2menu_pi1->main

lib.nsbcat2menu.special.catList=0
lib.nsbcat2menu.special.pidlist=246

lib.nsbcat2menu.special.catTable=tt_products_cat
lib.nsbcat2menu.special.parentEntry=parent_category
lib.nsbcat2menu.special.extTrigger= tt_products
lib.nsbcat2menu.special.varCat=cat

lib.nsbcat2menu.special.targetId = 213
lib.nsbcat2menu.special.recSel = 0 #Funktionalität im PHP ausgeschaltet

lib.nsbcat2menu.1 = TMENU
lib.nsbcat2menu.1 {
   noBlur = 1
   expAll = 0
   NO = 1
   NO {
      ATagTitle.field = title
      ATagParams = id="main-menu"
      wrapItemAndSub = <li>|</li>|*|<li>|</li>|*|<li class="last">|</li>
   }
   ACT < .NO
   ACT.ATagParams = id="main-menu{elementUid}" class="active"
}

lib.nsbcat2menu.2 = TMENU
lib.nsbcat2menu.2 {
   wrap= <ul>|</ul>
   noBlur = 1
   expAll = 0
   NO = 1
   NO {
      ATagTitle.field = title
      ATagParams = id="main-menu"
      wrapItemAndSub = <li>|</li>|*|<li>|</li>|*|<li class="last">|</li>
   }
   CUR < .NO
   CUR.ATagParams = id="main-menu{elementUid}" class="active"
}

lib.nsbcat2menu.3 = TMENU
lib.nsbcat2menu.3 < lib.nsbcat2menu.2
lib.nsbcat2menu.4 = TMENU
lib.nsbcat2menu.4 < lib.nsbcat2menu.2

FAQ

Reference

Known problems

- Make sure that tt_products is installed before mbi_products_cate gories!typo3conf/localconf.php:$TYPO3_CONF_VARS['EXT']['extList'] = 'sr_feuser_register,div2007,patch1822,static_info_tables,table,pmk htmlcrop,,taxajax,ajaxgroupsearch,feuserloginsystem,nsb_cat2menu,tspa rser,tt_products,mbi_products_categories,cc_debug';

To-Do list

- Allow a product to be inside of more than one category (see http://ttproducts.de ) .

Changelog

9