{* Breadcrumb for categories browsing and editing *}

- {intl l="Home"}
- {intl l="Catalog"}
{ifloop rel="category_path"} {loop name="category_path" type="category-path" visible="*" category=$category_id} {if $ID == $category_id && $editing_product == false}
- {if $editing_category == true} {intl l='Editing %cat' cat="{$TITLE}"} {else} {$TITLE} {intl l="(edit)"} {/if}
{else}
- {$TITLE}
{/if} {/loop} {/ifloop} {if $editing_product == true} {loop name="product_path" type="product" visible="*" id=$product_id}
- {intl l="Editing %title" title="{$TITLE}"}
{/loop} {/if}