[TYPO3-commerce] subcategories and products on one page

Brian Bendtsen nightowl at galnet.dk
Tue Oct 2 14:55:50 CEST 2007


Franz Koch skrev:
> sorry, but isn't that the default setting? At least there is a marker 
> called '###CATEGORY_ITEM_PRODUCTLIST###' that should render the products 
> just like you want it. So I guess it's your TS-configuration.
> 
> Try to set the following in TS:
> ----
> plugin.tx_commerce_pi1 {
>     groupProductsByCategory = 1
>     hideProductsInList = 0
> }
> ----
> 
> That's my answer for the problem after 1 minute having a look inside the 
> sourcecode - or let's better say, after doing a 10 second search over 
> the sourcecode of commerce for the mentioned marker. Sometimes the 
> sourcecode is simply the best documentation - it might be hard at the 
> beginning, but once you're used to it, it's so much faster and you learn 
> a lot of it.
> This is not against you in person, so sorry if it sounds like it, but 
> sometimes I'm asking myself if guys posting here really tried to find a 
> solution or are just to lazy to get their hands dirty and finally have 
> to really work for the money they get from their customers for the 
> project. I also had to work hard for learning it, and most of the spent 
> time for learning it was unpaid spare time. I really like to help, but I 
> got to have the feeling that the person is willing to work for it.
> 
> -- 
> Kind regards,
> Franz Koch

Thanks for answering my mail, I will try not to take the last bit too 
personal. Believe me, I have spend quite some time trying to solve this 
problem.

I have been looking and changing the template files and typoscript found 
in the static ts files. I admit, I haven't looked much in the php files 
yet, I just started learning php.

I tried your suggested typoscript and now my page shows the marker 
###CATEGORY_ITEM_PRODUCTLIST## after each category name.

You can see it here:

http://www.ribehoej.dk/index.php?id=48&tx_commerce_pi1[catUid]=3&cHash=5f4a1a7815

If you click one of the categories you see a nice view of products, but 
I want all products on the previous page beneath each category name.

/Brian


More information about the TYPO3-project-commerce mailing list