[TYPO3-shop] Pages as Categories

Franz Holzinger franz at fholzinger.com
Mon Oct 15 12:43:12 CEST 2007


Hello Ian,

> Products
>     Category1
>         <here i put the product's records>
>     Category2
>     Category3
>     ...
>     Categoryn
> ...
> 
> If I click Sub-category1, the page will shows just the products inserted
> into this page.
> Also, when I click over a product, a page with the single view of that
> product is shown without change the tree position.
> 
> I did those steps:
> 1. Install the extension and set pageAsCategory=2
> 2. Create a page structure as above
> 3. Insert into page Category1 a tt_product's Plugin with CODE=LIST
> 4. Create some records in page Category1 and page Category2
> 
> But now the page Category1 shows all the products from page Category1
> and page Category2.
> 
> Reading the manual i see:
> pid_list: The pids from where to fetch categories, products and so on.
> Default is the current page. Accepts multiple pid's separated by comma.
> 
> So, if "Default is the current page" I aspect that it works, but it
> doesn't.
> 
> Please, can someone tell me what I need to set to use pages as categories?

In your case you must leave pid_list empty. Then the products of page
Category1 should be shown on that page. You must not use the starting
point of the plugin or set it to Category1 again.


- Franz




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