Jump to content

Remove Image from categories


Recommended Posts

Hello, I have the very latest version of PS as I installed it on my new site 3 days ago. I have bootstrap template. My website is https://www.scrapbookuniverse.net/store/index.php

 

Remove Image from categories. I don't want images attached to my categories. post-963538-0-18530200-1426548162_thumb.jpg I've looked everywhere for a couple of days now, and I can't find where the setting is. I must be overlooking it. Will you please help. Thank you. Also, I did a search in the forum and couldn't find anything. Please see attached.

Link to comment
Share on other sites

Open file: themes/{YOUR_TEMPLATE_NAME}/category.tpl

 

And remove everything from:

<div class="subcategory-image">
 
to first </div>
 
if nothing changes go to the Performace tab in admin panel, and change Smarty option for 'force compilation'.
Best regards
Link to comment
Share on other sites

Hello, I have the bootstrap theme which came with Prestashop. I didn't see anything labeled bootstrap.tpl. So what is the standard file name for that template? Please don't say bootstrap, because it isn't there.

 

I really appreciate your help.

Link to comment
Share on other sites

Hi, I tried what you said and removed:

 

                        <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img">
                        {if $subcategory.id_image}
                            <img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html':'UTF-8'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
                        {else}
                            <img class="replace-2x" src="{$img_cat_dir}{$lang_iso}-default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />
                        {/if}
                    </a>

 

Please see my website for the LIVE RESULTS   https://www.scrapbookuniverse.net/store/index.php?id_category=69&controller=category&id_lang=1 . It didn't work. Please show me another way.

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...