To remove OR hide category image and just show the category description please follow below:
First Go: catalog\view\theme\default\template\product\category.tpl
Note: Here 'default' you can change as per your theme folder name.
In category.tpl file find the below code:
<table style="padding-bottom:10px;">
<tr>
<?php if ($thumb) { ?>
<td><img src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>" /></td>
<?php } ?>
<?php if ($description) { ?>
<td><?php echo $description; ?></td>
<?php } ?>
</tr>
</table>
And then replace with below new code:
<table style="padding-bottom:10px;">
<tr>
<?php if ($description) { ?>
<td><?php echo $description; ?></td>
<?php } ?>
</tr>
</table>
Enjoy!
I read your blog post! Thank you for taking time to provide us some of the useful and exclusive information with us. Keep on blogging!!
ReplyDeleteWeb development Company in India Company | Web development Company Bangalore
Web Development Company in Bangalore | Responsive Web development
This post was very helpful for us, thanks for sharing
ReplyDeleteBitcoin payment for e commerce development | Pay Bitcoin for Ecommerce Development | web design Hubli