Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

How to remove image from the high level of cateogory

Started by quekbhj, September 05, 2013, 11:39:41 AM

Previous topic - Next topic

quekbhj

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

abantecart

Open file for edit: storefront/view/default_html5/template/blocks/category_top.tpl

Locate below code and remove or comment it out:


<?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 ?>
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

quekbhj


Forum Rules Code of conduct
AbanteCart.com 2010 -