Mace Long
Mace Long

Reputation: 31

static block doesn't show products in Magento 1.9.2.4

I need to show products in static block, but it does 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"}}

Upvotes: 0

Views: 847

Answers (3)

Shyam
Shyam

Reputation: 116

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).

Upvotes: 0

JKıngma
JKıngma

Reputation: 111

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

Upvotes: 1

Shivananda Chary
Shivananda Chary

Reputation: 565

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.

Upvotes: 0

Related Questions