{hook name="category.content-top" category="$category_id"} {if #category_display_detail# && $category_id}
{loop name="category.description" type="category" id={$category_id} limit="1" }

{category attr="title"}

{loop name="category.image" type="image" source="category" source_id={$ID} width=218 height=146 resize_mode="borders"}

{$TITLE}

{/loop} {if $DESCRIPTION}
{$DESCRIPTION nofilter}
{/if} {if $POSTSCRIPTUM} {$POSTSCRIPTUM} {/if} {/loop}

{/if} {if #category_display_subcategories#} {ifloop rel="subcategories"} {/ifloop} {/if} {ifloop rel="product_list"} {$amount={count type="product" category=$category_id}} {include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}}
    {loop type="product" name="product_list" category=$category_id limit=$limit page=$product_page order=$product_order} {include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true hasQuickView=true width="218" height="146"} {/loop}
{include file="includes/toolbar.html" toolbar="bottom" amount={$amount}} {/ifloop} {elseloop rel="product_list"}
{intl l="No products available in this category"}
{/elseloop} {hook name="category.content-bottom" category="$category_id"}