AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: quekbhj on September 05, 2013, 11:39:41 AM

Title: How to remove image from the high level of cateogory
Post by: quekbhj on September 05, 2013, 11:39:41 AM
Hi

I have created a high level category called "Test Cat" and its sub-category called "Test Sub Cat".
When I do a click on "Test Cat", it display a system default image (camera image) as attached if no image being uploaded.
Please advise to remove the default image.
Just only want to display the image on the product level.

Thank you
Jasmine
Title: Re: How to remove image from the high level of cateogory
Post by: abantecart on September 05, 2013, 01:24:38 PM
Open file for edit: storefront/view/default_html5/template/blocks/category_top.tpl

Locate below code and remove or comment it out:

Code: [Select]
<?php if ($category['thumb']) { ?>
<ul>
<li><img style="display:block" src="<?php echo $scat['thumb']; ?>"
alt="<?php echo $scat['name']; ?>"
title="<?php echo $scat['name']; ?>">
</li>
</ul>
<?php ?>
Title: Re: How to remove image from the high level of cateogory
Post by: quekbhj on September 06, 2013, 03:51:31 AM
Thank you for the useful information.