Hello,
I have this template on a Magento 1.9.2.4 installation:
http://www.templatemonster.com/free-magento-1-9-template.html#gref
And when the user reaches the main page of an empty category, there's a default CMS that has this message:
"This is a custom CMS block displayed if category is empty.
You can replace it with any custom content."
I want to change it, but the problem is that the static block doesn't show in the Admin Panel. Where can I change this page?
Thanks.
Solved! Go to Solution.
Hi,
You can find this under file -
app/design/frontend/default/themename/template/catalog/product/list.phtml
This is just a plain message which you can customize or can call a static block instead.
You can call static block inside phtml file as follows -
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('cms_empty_category_block')->toHtml(); ?>
cms_empty_category_block - is the block id that can be used
Hi,
You can find this under file -
app/design/frontend/default/themename/template/catalog/product/list.phtml
This is just a plain message which you can customize or can call a static block instead.
You can call static block inside phtml file as follows -
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('cms_empty_category_block')->toHtml(); ?>
cms_empty_category_block - is the block id that can be used
Thank you, it worked!