<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

$ml_pedcli->articulo = new Articulo($ml_pedcli->codigo_articulo);
//echo var_dump($ml_pedcli->lote->trabaja_cantidades);
?>
<div id="product_5_19_0_0" class="cart_item last_item first_item address_0 odd col-xs-12">
	<div class="product-info">
	    <div class="cart_product">
			<a href="<?=$ml_pedcli->articulo->url;?>" title="<?=$ml_pedcli->articulo->nombre;?>">
			    <?php
			   $opciones = new OpcionesWidget(array("ean" => $ml_pedcli->articulo->ean, "cliente" => Shop::$configuracion->cliente_arminet, "ruta_base" => "https://sinlib.es/", "tam_portada" => "mini_cesta"));
		        new Widget($_WH->GW("multifoto", "mostrarPortadaMultiFotoLupita"), $opciones);
				?>
			</a>
	    </div>
	    <div class="cart_description">
			<p class="product-name">
			    <a href="<?=$ml_pedcli->articulo->url;?>" title="<?=$ml_pedcli->articulo->nombre;?>"><?=$ml_pedcli->articulo->nombre;?></a>
			</p> 
			<small class="cart_ref"><?=traducir('EAN:');?> <?=$ml_pedcli->articulo->ean;?></small> 
			<small><a href="<?= corregir_url(Shop::$configuracion->url . "autor/" . $ml_pedcli->articulo->autor); ?>" title="<?=$ml_pedcli->articulo->autor;?>"><?=$ml_pedcli->articulo->autor;?></a></small>
	    </div>
	</div>
	<?php
	if(!$ml_pedcli->lote->trabaja_cantidades){
		?>
    <div class="product-buy-detail">
	    <div class="cart_unit" data-title="Precio unitario">
			<ul class="price text-right" id="product_price_5_19_0">
			    <li class="price"><?=number_format($ml_pedcli->pvp, Shop::$configuracion->decimales, ",", ".");?>&euro;</li>
			</ul>
	    </div>
	    <div class="cart_quantity text-center" data-title="Cantidad"> 
			<input size="2" type="text" autocomplete="off" id="quantity_wanted48929" class="cart_quantity_input form-control grey" value="<?=$ml_pedcli->cantidad;?>" name="quantity_5_19_0_0">
	    </div>
	    <div class="cart_total" data-title="Total"> 
			<span class="price" id="total_product_price_5_19_0"> <?=number_format($ml_pedcli->importe_con_dto, Shop::$configuracion->decimales, ",", ".");?>&euro; </span>
	    </div>
	</div>
	<?php
	}
	?>
</div>
