Badipool gmbH Schweiz Posted July 15, 2014 Share Posted July 15, 2014 Hello i need to delete the <!-- Category image --> on the top of the subcategorie see on picture what i mean. my prestashop version is 1.606 where i must delete or change the code? thank you for helping Link to comment Share on other sites More sharing options...
PeterDesouza Posted July 15, 2014 Share Posted July 15, 2014 Hi, Find below code in category.tpl and remove it. {if $category->id_image}style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) 0 top no-repeat; background-size:contain; min-height:{$categorySize.height}px;" {/if} Link to comment Share on other sites More sharing options...
Badipool gmbH Schweiz Posted July 15, 2014 Author Share Posted July 15, 2014 Hello thank you for the fast replay , i tryed to delet it but didnt work. the picture are still showing. Link to comment Share on other sites More sharing options...
PeterDesouza Posted July 15, 2014 Share Posted July 15, 2014 Please clear Prestashop and browser cache. then check Link to comment Share on other sites More sharing options...
Badipool gmbH Schweiz Posted July 15, 2014 Author Share Posted July 15, 2014 i cleared the cache of prestashop and delete the browser cache but the picture are still here. i cleared the cache of prestashop and delete the browser cache but the picture are still here. this here is the category.tpl now <div class="content_scene_cat1"> {if $scenes} <!-- Scenes --> {include file=""} {if $category->description} <div class="cat_desc rte"> {if Tools::strlen($category->description) > 350} <div id="category_description_short">{$description_short}</div> <div id="category_description_full" class="unvisible">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category.link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div>{$category->description}</div> {/if} </div> {/if} </div> {else} <!-- Category image --> <div class="content_scene_cat_bg" > {if $category->description} <div class="cat_desc"> <span class="category-name"> {strip} {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} </span> {if Tools::strlen($category->description) > 350} <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div class="rte">{$category->description}</div> {/if} </div> {/if} </div> {/if} </div> {/if} <h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"><span class="cat-name">{$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if}</span>{include file="$tpl_dir./category-count.tpl"}</h1> {if isset($london_vars.show_subcategories) && $london_vars.show_subcategories == 1} {if isset($subcategories)} <!-- Subcategories --> <div id="subcategories"> <p class="subcategory-heading">{l s='Subcategories'}</p> <ul class="clearfix"> {foreach from=$subcategories item=subcategory} <li> <div class="subcategory-image"> <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}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> </div> <h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'|truncate:350}</a></h5> {if $subcategory.description} <div class="cat_desc">{$subcategory.description}</div> {/if} </li> {/foreach} </ul> </div> {/if}{/if} {if $products} <div class="content_sortPagiBar clearfix"> <div class="sortPagiBar clearfix"> {include file="./product-sort.tpl"} {include file="./nbr-product-page.tpl"} </div> <div class="top-pagination-content clearfix"> {include file="./product-compare.tpl"} {include file="$tpl_dir./pagination.tpl"} </div> </div> {include file="./product-list.tpl" products=$products} <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="./product-compare.tpl" paginationId='bottom'} {include file="./pagination.tpl" paginationId='bottom'} </div> </div> {/if} {elseif $category->id} <p class="alert alert-warning">{l s='This category is currently unavailable.'}</p> {/if} {/if} Link to comment Share on other sites More sharing options...
PeterDesouza Posted July 15, 2014 Share Posted July 15, 2014 Please share site URL. Link to comment Share on other sites More sharing options...
vekia Posted July 15, 2014 Share Posted July 15, 2014 yes url will be necessary perhaps in your theme image is defined in different way it's necessary to check it Link to comment Share on other sites More sharing options...
Badipool gmbH Schweiz Posted July 15, 2014 Author Share Posted July 15, 2014 Please share site URL. Here my url the pump picture on the top i want this to delete http://shop.badipool.ch/de/37-super-pump-premium-6mh-15mh Link to comment Share on other sites More sharing options...
vekia Posted July 15, 2014 Share Posted July 15, 2014 so strange :| it shouldn't appear there you cleared shop cache and recompiled theme? if you add some "TEST" text to your .tpl file it appears in front office? Link to comment Share on other sites More sharing options...
PeterDesouza Posted July 15, 2014 Share Posted July 15, 2014 I think this is category scene image. Disable it Link to comment Share on other sites More sharing options...
Badipool gmbH Schweiz Posted July 15, 2014 Author Share Posted July 15, 2014 I think this is category scene image. Disable it i disabled the category_default picture but than i just have a question mart on the top Link to comment Share on other sites More sharing options...
Badipool gmbH Schweiz Posted July 15, 2014 Author Share Posted July 15, 2014 (edited) so strange :| it shouldn't appear there you cleared shop cache and recompiled theme? yes i cleard all cache in prestashop if you add some "TEST" text to your .tpl file it appears in front office? what do you mean with add some test in my .tpl? sorry but i dont know this very well Edited July 15, 2014 by Badipool gmbH Schweiz (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 15, 2014 Share Posted July 15, 2014 just enter there simple text: TEST for example - at the top of the file afater save, do you see "TEST" text in your front office? Link to comment Share on other sites More sharing options...
Badipool gmbH Schweiz Posted July 15, 2014 Author Share Posted July 15, 2014 just enter there simple text: TEST for example - at the top of the file afater save, do you see "TEST" text in your front office? ok i put now TEST on the top of .tpl and is showing me on the website http://shop.badipool.ch/de/37-super-pump-premium-6mh-15mh Link to comment Share on other sites More sharing options...
Badipool gmbH Schweiz Posted July 16, 2014 Author Share Posted July 16, 2014 Does someone have a idea? Link to comment Share on other sites More sharing options...
Recommended Posts