Jump to content

Removing subcategory images


ravensborg

Recommended Posts

Hi,

In the final hours before launching our site, I need help guidance to remove the subcategory images. I have the Interior theme and so far I've been very pleased. In 1.6 I easily fixed it within the category.tpl, but this time I'm stucked.

Hopefully someone in here can help me.

Link to comment
Share on other sites

Hi,

Not sure what you mean with "sub"-category but for category image in general I guess it's similar in 1.7. - check the file themes\classic\templates\catalog\listingthemes\classic\templates\catalog\listing\category.tpl, I see code for category image there:

      {if $category.image.large.url}
        <div class="category-cover">
          <img src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if}">
        </div>
      {/if}

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...