Jump to content

Recommended Posts

Tengo un problema con mi tienda prestashop, no muestra la descripción de la categoria dentro de la misma categoria.

 

Complete la categoria con la descripción y la imagen pero al ingresar a esa categoria solo me muestra la imagen.

 

Gracias.

post-398534-0-18798000-1368532521_thumb.jpg

Link to comment
Share on other sites

Tengo un problema con mi tienda prestashop, no muestra la descripción de la categoria dentro de la misma categoria.

 

Complete la categoria con la descripción y la imagen pero al ingresar a esa categoria solo me muestra la imagen.

 

Gracias.

 

Quizas la tengas oculta por css.

 

¿Url de la web?

Link to comment
Share on other sites

 

Buenos dias a todos,

 

Fijate que en el fichero:

 

/themes/et_toystore/category.tpl

 

No tengas algo comentado, de este modo:

 

{* {if $subcategory.description}
  <p class="cat_desc">{$subcategory.description}</p>
 {/if} *}

 

Si lo tienes como he comentado antes, dejalo asi:

 

{if $subcategory.description}
  <p class="cat_desc">{$subcategory.description}</p>
 {/if}

 

Sino lo tienes agregalo

Link to comment
Share on other sites

Lo tenia comentado lo modifique pero sigue sin aparecer, tienes alguna idea?

{include file="$tpl_dir./breadcrumb.tpl"}

{include file="$tpl_dir./errors.tpl"}

 

{if isset($category)}

{if $category->id AND $category->active}

{if $scenes || $category->description || $category->id_image}

<div class="content_scene_cat">

{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')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" />

</div>

{/if}

{/if}

</div>

{/if}

<h1>

{strip}

{$category->name|escape:'htmlall':'UTF-8'}

{if isset($categoryNameComplement)}

{$categoryNameComplement|escape:'htmlall':'UTF-8'}

{/if}

{/strip}

<span class="resumecat category-product-count">

{include file="$tpl_dir./category-count.tpl"}

</span>

</h1>

 

 

 

 

{if isset($HOOK_CATEGORY_FEATURE) && $HOOK_CATEGORY_FEATURE}{$HOOK_CATEGORY_FEATURE}{/if}

{if isset($subcategories)}

<!-- Subcategories -->

<div id="subcategories">

<h3>{l s='Subcategories'}</h3>

<ul class="inline_list">

{foreach from=$subcategories item=subcategory}

<li class="clearfix">

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

{if $subcategory.id_image}

<img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')}" alt="" />

{else}

<img src="{$img_cat_dir}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />

{/if}

</a>

<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="cat_name">{$subcategory.name|escape:'htmlall':'UTF-8'}</a>

{if $subcategory.description}

<p class="cat_desc">{$subcategory.description}</p>

{/if}

</li>

{/foreach}

</ul>

<br class="clear"/>

</div>

{/if}

 

{if $products}

<div class="content_sortPagiBar">

<div class="sortPagiBar clearfix">

{include file="./product-sort.tpl"}

{include file="./product-compare.tpl"}

</div>

</div>

 

{include file="./product-list.tpl" products=$products}

 

<div class="content_sortPagiBar">

<div class="sortPagiBar clearfix">

{include file="./product-sort.tpl"}

{include file="./product-compare.tpl"}

</div>

{include file="./pagination.tpl"}

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

Lo tenia comentado lo modifique pero sigue sin aparecer, tienes alguna idea?

{include file="$tpl_dir./breadcrumb.tpl"}

{include file="$tpl_dir./errors.tpl"}

 

{if isset($category)}

{if $category->id AND $category->active}

{if $scenes || $category->description || $category->id_image}

<div class="content_scene_cat">

{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')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" />

</div>

{/if}

{/if}

</div>

{/if}

<h1>

{strip}

{$category->name|escape:'htmlall':'UTF-8'}

{if isset($categoryNameComplement)}

{$categoryNameComplement|escape:'htmlall':'UTF-8'}

{/if}

{/strip}

<span class="resumecat category-product-count">

{include file="$tpl_dir./category-count.tpl"}

</span>

</h1>

 

 

 

 

{if isset($HOOK_CATEGORY_FEATURE) && $HOOK_CATEGORY_FEATURE}{$HOOK_CATEGORY_FEATURE}{/if}

{if isset($subcategories)}

<!-- Subcategories -->

<div id="subcategories">

<h3>{l s='Subcategories'}</h3>

<ul class="inline_list">

{foreach from=$subcategories item=subcategory}

<li class="clearfix">

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

{if $subcategory.id_image}

<img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')}" alt="" />

{else}

<img src="{$img_cat_dir}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" />

{/if}

</a>

<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="cat_name">{$subcategory.name|escape:'htmlall':'UTF-8'}</a>

{if $subcategory.description}

<p class="cat_desc">{$subcategory.description}</p>

{/if}

</li>

{/foreach}

</ul>

<br class="clear"/>

</div>

{/if}

 

{if $products}

<div class="content_sortPagiBar">

<div class="sortPagiBar clearfix">

{include file="./product-sort.tpl"}

{include file="./product-compare.tpl"}

</div>

</div>

 

{include file="./product-list.tpl" products=$products}

 

<div class="content_sortPagiBar">

<div class="sortPagiBar clearfix">

{include file="./product-sort.tpl"}

{include file="./product-compare.tpl"}

</div>

{include file="./pagination.tpl"}

</div>

{/if}

{elseif $category->id}

<p class="warning">{l s='This category is currently unavailable.'}</p>

{/if}

{/if}

 

No veo esa linea, en el que codigo que me comentas, añade la linea:

 

{if $subcategory.description}
  <p class="cat_desc">{$subcategory.description}</p>
 {/if}

 

debajo de:

 

<img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" />

Link to comment
Share on other sites

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