wishlists/index.php

Listas de favoritos del cliente.

Listas de favoritos

Este template permite mostrar todas las listas de favoritos creadas por el cliente.

Objetos disponibles

Descripción

$_wishlists

Listas de favoritos.

$_totalWishlists

Número total de listas.

$_product

Productos favoritos (de todas las listas)

Código de ejemplo

<section>
	
	<h1>Mis Listas</h1>

	<?php if($_totalWishlists): ?>
	<ul>
		<?php while($_wishlists->getNext()): ?>
		<li><a href="<?=$_wishlists->getURL()?>"><?=$_wishlists->get('name')?></a></li>
		<?php endwhile; ?>
	</ul>
	<?php else: ?>
	<p>Todavía no creaste ninguna lista.</p>
	<?php endif; ?>
	
</section>

Last updated

Was this helpful?