Guest User

Untitled

a guest
Jan 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. <!--{include file=$tpl_dir./breadcrumb.tpl}
  2. Left
  3. <!--{if $category->active}
  4. {include file=$tpl_dir./errors.tpl}
  5. <div class="list_product">
  6. {if $category->id_image}
  7. <div class="category_img">
  8. <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" />
  9. {if $category->description}
  10. <div class="cat_desc">
  11. <h1>{$category->name|escape:'htmlall':'UTF-8'}</h1>
  12. {$category->description}
  13. </div>
  14. {/if}
  15. </div>
  16. {/if}
  17. {if $scenes}
  18. {include file=$tpl_dir./scenes.tpl scenes=$scenes}
  19. {/if}
  20. {if isset($subcategories)}
  21. <!-- Subcategories
  22. <div id="subcategories">
  23. <ul>
  24. {foreach from=$subcategories item=subcategory}
  25. <li>
  26. <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}">
  27. {if $subcategory.id_image}
  28. <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" />
  29. {else}
  30. <img src="{$img_cat_dir}default-medium.jpg" alt="" />
  31. {/if}
  32. </a>
  33. <ol>
  34. <h6><a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a></h6>
  35. <span>{$subcategory.description|escape:'htmlall':'UTF-8'|truncate:100:'...'}<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="subcategory_link">{l s='View'}</a></span>
  36. </ol>
  37. </li>
  38. {/foreach}
  39. </ul>
  40. </div>
  41. {/if}
  42. </div> -->
  43. {if $products}
  44. {include file=$tpl_dir./product-list.tpl products=$products}
  45. {/if}
  46. {elseif !isset($subcategories)}
  47. <li class="warning">{l s='There is no product in this category.'}</li>
  48. {else}
  49. <li class="warning">{l s='This category is currently unavailable.'}</li>
  50. {/if}
Add Comment
Please, Sign In to add comment