{if $stores|@count > 0}
    <div class="popup" id="popup-store">
        <div class="popup-content-store " >
                <span class="close-popup-store">&times;</span>
                <p>Sélectionner le magasin le plus proche de chez vous.</p>
                {foreach from=$stores item=store }
                    <div class="store-item">
                         <img src="{$store->image}" alt="{$store->name}">
                         <p>{$store->name}</p>
                         <a href="{$store->url}" class="btn btn-primary">Choisir ce magasin</a>
                    </div>
                {/foreach}
        </div>
        <script src="{$urls.base_url}modules/polarisprestatheme/views/js/store.js"></script>
    </div>
{/if}