Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--{include file=$tpl_dir./breadcrumb.tpl}
- Left
- <!--{if $category->active}
- {include file=$tpl_dir./errors.tpl}
- <div class="list_product">
- {if $category->id_image}
- <div class="category_img">
- <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" />
- {if $category->description}
- <div class="cat_desc">
- <h1>{$category->name|escape:'htmlall':'UTF-8'}</h1>
- {$category->description}
- </div>
- {/if}
- </div>
- {/if}
- {if $scenes}
- {include file=$tpl_dir./scenes.tpl scenes=$scenes}
- {/if}
- {if isset($subcategories)}
- <!-- Subcategories
- <div id="subcategories">
- <ul>
- {foreach from=$subcategories item=subcategory}
- <li>
- <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}">
- {if $subcategory.id_image}
- <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" />
- {else}
- <img src="{$img_cat_dir}default-medium.jpg" alt="" />
- {/if}
- </a>
- <ol>
- <h6><a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a></h6>
- <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>
- </ol>
- </li>
- {/foreach}
- </ul>
- </div>
- {/if}
- </div> -->
- {if $products}
- {include file=$tpl_dir./product-list.tpl products=$products}
- {/if}
- {elseif !isset($subcategories)}
- <li class="warning">{l s='There is no product in this category.'}</li>
- {else}
- <li class="warning">{l s='This category is currently unavailable.'}</li>
- {/if}
Add Comment
Please, Sign In to add comment