Menelly Posted August 18, 2012 Share Posted August 18, 2012 I'm trying to get rid of an image on just an inside page of subcategories. Not sure exactly how to explain, so I went for screen shots instead. I hope it explains what I want to get rid of! Any help would be really appreciated. I'm very new to using PrestaShop, and like it a lot! I'm just frustrated with this. Thanks! Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted August 18, 2012 Share Posted August 18, 2012 The first thing you need to do is create a back up of themes/yourtheme/category.tpl. After that, in your original file remove the following lines of code {if $scenes} <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {else} <!-- Category image --> {if $category->id_image} <div class="align_center"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if} {/if} {if $category->description} <div class="cat_desc">{$category->description}</div> {/if} This will get rid of the category image. If you encounter any problems upload your backup. Hope that helps! Marty Shue Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now