[TYPO3-shop] specify category id for products:list on a page; mbi_categories

Andrew Davis andrew at avagraphique.com
Mon May 28 01:47:29 CEST 2007


So placing
defaultCategoryID = 12
must happen in template setup, not in page TSConfig.

yes it is a little awkward to have template for each product page, but i 
only have 6 or o so i might do that since i sont want category menu on 
those pages.

thanks,
andrew

Franz Holzinger wrote:
> Hello Andrew,
> 
>> How do i specify only one specific category ID to be displayed on a page
>> with products-Products:LIST when I have installed your updated
>> mbi_categories?
>>
>>
>> This is my setup in backend:
>>
>>
>> [page] "Products list"
>>   TSCONFIG:  defaultCategoryID = 18
>>
>>   Products Plugin - Products:List
>>     startingpoint : products (id=10)
>>
>> [sysfolder] id=10
>>   [product record] "test item"
>>      category = 18
>>
>>   [product record] "test item 2"
>>      category = 8
>>
>>
>>   [Category Record ID=18] "Cat name"
>>
>>   [Category Record ID=8] "Cat 2"
>>
>>
>>
>> If I look at the products page, I can see both items, regardless of
>> their category setting.
>>
>> does the tsconfig "defaultCategoryID = 10" need to be different?
>>
>> thanks for any assistance!
> 
> Normally it is intended to use the category LIST plugin somewhere on
> each page. (Templa Voila or via TypoScript). Then the link to the
> product list will already contain a category parameter
> tx_ttproducts_pi1[category] and filtering takes place.
> 
> The solution to have an own template setup on each page is not so good,
> but possible.
> 
> plugin.tt_products  {
> ...
> defaultCategoryID = 12
> 
> ...
> }
> 
> But you have to do this for every page then.
> 
> - Franz
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


More information about the TYPO3-project-tt-products mailing list