stores/index.php

Listado de tiendas físicas y puntos de venta / Tiendas con ubicación sobre mapa

Listado de tiendas

Este template permite mostrar sobre un mapa o en un listado las tiendas y puntos de venta físicos.

Objetos disponibles

Descripción

$_store

Tiendas.

$_total

Cantidad de tiendas.

$_country

Países.

$_state

Departamentos.

$_city

Ciudades.

$_selectedCountryId

País seleccionado.

$_selectedStateId

Departamento seleccionado.

$_selectedCityId

Ciudad seleccionado.

Las tiendas pueden ser geo-referenciadas

Puedes filtrar las tiendas por zonas, ciudades o como quieras

Código de ejemplo

<div class="container">
	<div id="stores">
		<h1>Store finder</h1>
		
		<ul>
			<?php while($_store->getNext()): ?>
			<li>
				<h2><?=$_store->get('city')?></h2>
				<h3><?=$_store->get('name')?></h3>
				<p><?=$_store->get('address')?>
					<?php if($_store->get('tel')): ?>
					<br />Tel: <?=$_store->get('tel')?>
					<?php endif; ?>
				</p>
			</li>
			<?php endwhile; ?>
		</ul>
	</div>
</div>

Last updated