Unanswered topic

Display products from a category as a block in frontend


Author Message
Written on: 01. 07. 2010 [13:23]
marlon
Marlon
registered since: 01.07.2010
Posts: 3
Hi,

i want to show a list of products from a category in the frontend.

Therefore i created a block in the page.xml

PHP
<block type="catalog/product_list" name="test" category_id="45" template="catalog/product/list.phtml" />


The block is inserted via TS:

TYPOSCRIPT
includeLibs.user_tx_fbmagento_pi1 = EXT:fb_magento/pi1/class.tx_fbmagento_pi1.php
page.headerData.50 = USER_INT
page.headerData.50 {
userFunc = tx_fbmagento_pi1->main
block=typo3header
}
 
includeLibs.user_tx_fbmagento_pi1 = EXT:fb_magento/pi1/class.tx_fbmagento_pi1.php
 
temp.xyz = USER_INT
temp.xyz {
userFunc = tx_fbmagento_pi1->main
block = test
nowrap=1
}
 
page.10.subparts.CONTENT.10 < temp.xyz


The block appears in the frontend, but it shows no products (it displays only "There are no products matching the selection.")! The category has products.

Thanks for your help!


Marlon




Portal information:

At the moment there are 0 users online, thereof 0 registered users and 0 guests.
Today 0 registered users and 0 guests were already online.

Now online


TypoGento has 231 registered user, 112 topics and 184 answers. On average 0.31 posts are written per day.