Jump to content

[SOLVED] How to remove images of the subcategories ?


Recommended Posts

I want to remove those "no image available" pictures from my subcategories. How do I do that ?


hi. open categories.tpl in your theme folder, and delete this section to remove subcategories images:



If you want to only remove image, but keep titles, only remove the image tag
  • Like 3
Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...
  • 1 month later...
Can any one Tell me How to remove For Select sub Categories Not For all categories




Hope some one Will help me


try with the the included in this post, remove the subcategories from thecategorie that you are in.



Hi Thanks for reply

I mean

Main categories Image Size was 720*130
Sub Caregories Size was :- 350*150
Now i want To Change The Size for SUB Sub Cagories for Example 75*75






I willing to know how to adjust Some Few categories images Size
Link to comment
Share on other sites

Can any one Tell me How to remove For Select sub Categories Not For all categories




Hope some one Will help me


try with the the included in this post, remove the subcategories from thecategorie that you are in.



Hi Thanks for reply

I mean

Main categories Image Size was 720*130
Sub Caregories Size was :- 350*150
Now i want To Change The Size for SUB Sub Cagories for Example 75*75






I willing to know how to adjust Some Few categories images Size

hi. for sub sub categories prestashop dont have this option to change the image size.
Link to comment
Share on other sites

Is there any Other option .. OR any other Module





Can any one Tell me How to remove For Select sub Categories Not For all categories




Hope some one Will help me


try with the the included in this post, remove the subcategories from thecategorie that you are in.



Hi Thanks for reply

I mean

Main categories Image Size was 720*130
Sub Caregories Size was :- 350*150
Now i want To Change The Size for SUB Sub Cagories for Example 75*75






I willing to know how to adjust Some Few categories images Size

hi. for sub sub categories prestashop dont have this option to change the image size.
Link to comment
Share on other sites

  • 2 weeks later...

hello i am reluctant to start hacking into the code without more guidance please.

re: REMOVING JUST THE IMAGE BOXES FROM THE SUBCATEGORIES

I have read the reply below, which apparently works, but please can you tell me if the
piece of code to remove is as follows:
<!-- Category image -->
{if $category->id_image}
getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" />
{/if}
{/if}



this is the original reply to the question posted by someone else:


Sly Crespo - 03 May 2010 01:20 PM
I want to remove those “no image available” pictures from my subcategories. How do I do that ?
hi. open categories.tpl in your theme folder, and delete this section to remove subcategories images:


If you want to only remove image, but keep titles, only remove the image tag

Signature


http://www.catalogo-onlinersi.com.ar - Diseño web - Export Prestashop PDF - Facebook
Link to comment
Share on other sites

hello i am reluctant to start hacking into the code without more guidance please.



http://www.catalogo-onlinersi.com.ar - Diseño web - Export Prestashop PDF - Facebook



Hi Frined still i am looking For This solution


Main categories Image Size was 720*130
Sub Caregories Size was :- 350*150
Now i want To Change The Size for SUB Sub Cagories for Example 75*75

I willing to know how to adjust Some Few categories images Size


Regards
Ram
Link to comment
Share on other sites

  • 1 month later...
  • 6 months later...

trying for a while now, but still without succes...

basically, the idea that I want is a two-column list with my subcategories, so without the images of a category.

For some reason, it never wants to remove the images however...

Here's what my code of category.tpl looks like:

        {if isset($subcategories)}
       <!-- Subcategories -->

{l s='Subcategories'}

           {foreach from=$subcategories item=subcategory}

getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}

           {/foreach}




       {/if}



And this is category.css:

/* category.tpl */
body#category #subcategories li { 
   width: 240px;
   margin-left: 40px;
   text-align: left;
   font-size: 10px;
   text-decoration: none;
}

div.cat_desc { 
   margin-bottom: 0px;
}

body#category div#subcategories .inline_list a { 
   text-decoration: none;
}



Any help would be welcome!

I'm using PS 1.4 btw.

Link to comment
Share on other sites

I'm still trying a lot of things out, but it doensn't really matter if I do change anything in category.tpl... it never changes something anyway... maybe there's something wrong here? or do I have to alter some things somewhere else as well?

Link to comment
Share on other sites

×
×
  • Create New...