Reputation: 138
I have a static block that have 2 product list template in it
{{block type="catalog/product_list" category_id="22" template="catalog/product/homelist.phtml"}
{{block type="catalog/product_list" category_id="24" template="catalog/product/homelist.phtml"}
Normally, this static blocks appear normally on any 2 columns left template. However, I don't understand why when I view the product (product view page is also a 2 columns left template), this block doesn't appear?
My old store runs on Magento 1.3 and there's no problem with showing this block in product view page.
The current Magento version that I'm running is 1.6.1.0
When I look into the error log, I saw something about PDO Exception. Is this error related to why my block doesn't appear on the product view page?
Thanks!
Upvotes: 0
Views: 1726
Reputation: 26
Please use following block in (admin) cms or static block :
{{block type="catalog/product" category_id="22" name="custom.category" template="catalog/product/homelist.phtml"}}
OR
{{block type="catalog/product" product_id="67966" name="topnav.products" template="catalog/product/topnav-products.phtml"}}
Thanks,
Upvotes: 1