0
votes

i need to show products in static block, but it's not display any product. when i write any content in static block then the content will appears. But category product will not display. I need to show product with pagination toolbar. I tried with the code: {{block type="catalog/product_list" name="product_list" category_id="5" column_count="4" count="6" limit="4" mode="grid" toolbar_block_name="product_list_toolbar" template="catalog/product/list.phtml"}}

3

3 Answers

1
votes

You have to add "catalog/product_list" to the permissions: [ System > Permissions > Blocks ], otherwise the block won't show up.

0
votes

You might be adding the code in Visual mode in the static block. You need to add that code in text mode. You can do that on clicking the Show / Hide Editor and paste the code.

0
votes

CE 1.9.2.2 includes all the changes from the recent-patch SUPEE-6788, one of which was restrict the blocks that can be used in CMS blocks, pages, emails (etc...) by default.

You can whitelist them through the admin under System > Permissions > (Blocks | Variables).

I hope this will work for you.