55 lines
1.9 KiB
Smarty
Raw Normal View History

2015-08-20 11:28:09 +02:00
<div class="pack_bottom">
<p class="col-md-offset-2 title">
{l s='La séléction de produit pour vous aider' mod='cms_pack'}
</p>
<p class="desc">
{l s='+ de produit = + de réductions' mod='cms_pack'}
</p>
<div class="products">
<div class="inner">
{foreach from=$pack.products item=product}
{assign var='id_image' value=Product::getCover($product->id)}
<div class="product_inner">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="row">
<div class="col-md-1">
<input type="checkbox" checked name="{$product->id}" class="checkbox_add_bottom">
</div>
<div class="col-md-6">
<img class="img-responsive img" src="{$link->getImageLink($product->link_rewrite, $id_image.id_image, 'cart_default')|escape:'html':'UTF-8'}" alt="{$product->name|escape:'html':'UTF-8'}" title="{$product->name|escape:'html':'UTF-8'}" itemprop="image" />
<p class="name">{$product->name}</p>
</div>
<div class="col-md-2">
<div class="quantity">
<input type="text" value="1" size="3" data-product-id="{$product->id}" name="quantity_{$product->id}" class="product_add_{$product->id} quantity_bottom">
</div>
</div>
<div class="col-md-3">
<div class="price">
<span>{displayPrice price=$product->price}</span>
</div>
</div>
</div>
</div>
</div>
</div>
{/foreach}
</div>
<div class="total">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="price_info">
{l s='Sous total'} <span class="price">{displayPrice price=$pack.price_total}</span>
</div>
<div class="add_to_cart">
<button class="btn add_to_cart_pack" id="add_pack_right"><i class="icon icon-shopping-cart"></i> {l s='J\'achete' mod='cms_pack'}</button>
</div>
</div>
</div>
</div>
{hook h='reassuranceTopProduct'}
</div>
</div>