Author Topic: How to remove image from the high level of cateogory  (Read 4874 times)

Offline quekbhj

  • Full Member
  • ***
  • Posts: 133
  • Karma: +4/-1
    • View Profile
How to remove image from the high level of cateogory
« 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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to remove image from the high level of cateogory
« Reply #1 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 ?>
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

Offline quekbhj

  • Full Member
  • ***
  • Posts: 133
  • Karma: +4/-1
    • View Profile
Re: How to remove image from the high level of cateogory
« Reply #2 on: September 06, 2013, 03:51:31 AM »
Thank you for the useful information.

 

Powered by SMFPacks Social Login Mod