Jump to content

Quitar imagen de categorías


Dieguito

Recommended Posts

En la plantilla por defecto, seria fichero:
 

/themes/default/category.tpl

Buscar esto:

{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_default')|escape:'html'}" 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}

y dejarlo asi:

{*

{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_default')|escape:'html'}" 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} *}

Con:

{* *} 

comentamos el codigo que no se ejecutara.

 

No tengo el fichero category.tpl de tu plantilla, pero quizas es parecido a lo que te comento.

Link to comment
Share on other sites

En el category.tpl de mi plantilla no tengo eso, tengo lo siguiente:

 

{* include file="$tpl_dir./breadcrumb.tpl" *}
{include file="$tpl_dir./errors.tpl"}
 
{if isset($category)}
 
{if $category->id AND $category->active}
 
{if $products}
<div class="content_sortPagiBar">
<div class="sortPagiBar clearfix">
{include file="./product-sort.tpl"}
{include file="./product-compare.tpl"}
{include file="./nbr-product-page.tpl"}
</div>
</div>
 
{include file="./product-list.tpl" products=$products}
 
{include file="./pagination.tpl"}
 
{elseif $nb_products == 0}
<div class="warning">{l s='No hay productos en esta categoría'}</div>
{/if}
{elseif $category->id}
<p class="warning">{l s='This category is currently unavailable.'}</p>
{/if}
{/if}
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...