Jump to content
Crossuuuuu

Miniatury kategorii

Recommended Posts

Witam, 

 

mam problem z miniaturami kategorii. Może ktoś będzie w stanie mi pomóc. Mianowicie gdy wrzucam zdjęcie przez panel administracyjny sklepu niestety grafika się nie pokazuje więc zacząłem następnie kombinowałem żeby zastapić grafikę poprzez ftp w lokalizacji  img/c/....i tutaj docelowy plik i wciąż nic. Prosiłbym o pomoc w rozwiązaniu tego problemu :) 

 

adres sklepu: http://print-me.pl/3-filamenty-do-druku-3d

Share this post


Link to post
Share on other sites

Edytowałeś plik category.tpl? Wygląda tak jakby w ścieżce brakowało katalogi img.

Share this post


Link to post
Share on other sites

Masz na mysli plik category.tpl znajdujacy sie w ...themes/ps_glori/category.tpl ? Jeżeli tak to poniżej przesyłam kawałek kodyu odpowiedzialny za zdjecie:

 

 
<div class="cs-category-info">
<!-- Category image -->
{if isset($cs_settings->display_image_cate) && $cs_settings->display_image_cate == 1}
 
{if $scenes || $category->id_image}
<div class="content_scene_cat">
{if $scenes}
<div class="content_scene">
<!-- Scenes -->
{include file="$tpl_dir./scenes.tpl" scenes=$scenes}
</div>
{else}
<!-- Category image -->
<img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}" alt="{$category->name|escape:'html':'UTF-8'}"/>
  {/if}
</div>
{/if}
{/if}
<div class="cs-cat-content-img">
<div class="container">
<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></h1>
 
{if isset($cs_settings->display_desc_cate) && $cs_settings->display_desc_cate == 1}
{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}
{/if}
</div>
</div>
</div> <!-- close div cs-category-info -->

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More