Esempio n. 1
0

<div class="top-cart-content">
<?php 
    if ($totalRows_DatosCarrito > 0) {
        ?>
  
<ol id="cart-sidebar" class="mini-products-list">
<?php 
        $preciototal = 0;
        do {
            ?>
<li class="item">
<a href="" title="purple flowers" class="product-image">
<img src="img.php?imagen=imagenes/productos/<?php 
            echo MostarimagenProducto($row_DatosCarrito['id_producto']);
            ?>
&ancho=50&alto=50&cut&mark=false" width="50" height="50" alt="<?php 
            echo MostarNombreProducto($row_DatosCarrito['id_producto']);
            ?>
" />
</a>
<div class="product-details">
<a href="" title="Eliminar" onclick="return confirm('Are you sure you would like to remove this item from the shopping cart?');" class="btn-remove">Eliminar</a>
<p class="product-name">
<a href=""><?php 
            echo MostarNombreProducto($row_DatosCarrito['id_producto']);
            ?>
</a>
</p>
<strong> x <?php 
Esempio n. 2
0
<a href="2-eliminar-todo-carrito.php" onClick="javascript:return borratodo();" value="empty_cart" class="button btn-empty" id="empty_cart_button"><span><span>Vaciar Todo</span></span></a>

</td>
</tr>
</tfoot>
<tbody>
<?php 
    $preciototal = 0;
    do {
        ?>
<tr>
<td class="hidden-phone">
<a href="" title="flowers for birthday" class="product-image">
<img src="imagenes/productos/<?php 
        echo MostarimagenProducto($row_CarritoCompras['id_producto']);
        ?>
" width="75" height="75" alt="<?php 
        echo $row_CarritoCompras['id_producto'];
        ?>
" />
</a>
</td>

<td>
<h2 class="product-name">
<a href=""><?php 
        echo MostarNombreProducto($row_CarritoCompras['id_producto']);
        ?>
</a>
</h2>