{if $categorie_listing}
    <div class="listing categorie-listing" role="list">
        {if $position == 'index'}
            <p class="h2 index-heading">{$heading}</p>
        {else}
            <p class="h3">{$heading}</p>
        {/if}
        <div class="row">
            {foreach item=module_data from=$categorie_listing}
                <div class="col col-xs-6 col-sm-6 col-md-4 col-lg-4" role="listitem">
                    <div class="section text-center">
                        {if $module_data.categories_image}
                            <p class="image">
                                <a href="{$module_data.categories_link}" class="vertical-helper image-link">{img img=$module_data.categories_image type=m_category_thumb class="productImageBorder img-responsive" alt=$module_data.categories_name|escape:"html"}</a>
                            </p>
                        {/if}
                        <p class="title text-word-wrap">
                            <a href="{$module_data.categories_link}">{$module_data.categories_name}</a>
                        </p>
                    </div>
                </div><!-- .col -->
            {/foreach}
        </div>
    </div>
{/if}