{* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 8910 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {include file="$tpl_dir./errors.tpl"} {if $errors|@count == 0} {if !$content_only} {include file="$tpl_dir./breadcrumb.tpl"} {/if}
{if isset($adminActionDisplay) && $adminActionDisplay}

{l s='This product is not visible to your customers.'}

{/if} {if isset($confirmation) && $confirmation}

{$confirmation}

{/if}

{$product->name|escape:'htmlall':'UTF-8'}

{if $have_image} {$link->getImageLink($product->link_rewrite, $cover.id_image, 'zoom')} {else} {/if}
{if isset($images) && count($images) > 0}
{if isset($images) && count($images) > 4} {/if}
    {if isset($images)} {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"}
  • {$image.legend|htmlspecialchars}
  • {/foreach} {/if}
{if isset($images) && count($images) > 4} {/if}
{/if} {if isset($images) && count($images) > 1}

{/if} {**} {**}
{if $sale}
{$HOOK_PRIVATESALES_PRODUCT}
{/if}
{*{if $product->description}

{l s='More details'}

{/if}*} {*{if $packItems|@count > 0}

{l s='Pack content'}

{foreach from=$packItems item=packItem}
{$packItem.pack_quantity} x {$packItem.name|escape:'htmlall':'UTF-8'}

{$packItem.description_short}

{/foreach} {/if}*}
quantity > 0}class="hidden"{/if} action="{$link->getPageLink('cart.php')}" method="post">
{if isset($product->specificPrice) && $product->specificPrice.reduction_type == "percentage"} - {$product->specificPrice.reduction|number_format:2 * 100}% {/if} {if $product->show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}

{if !$priceDisplay || $priceDisplay == 2} {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, 2)} {assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)} {elseif $priceDisplay == 1} {assign var='productPrice' value=$product->getPrice(false, $smarty.const.NULL, 2)} {assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} {/if} {if $product->on_sale} {l s='On sale'} {l s='On sale!'} {*{elseif $product->specificPrice AND $product->specificPrice.reduction AND $productPriceWithoutRedution > $productPrice} {l s='Reduced price!'}*} {/if} {if $priceDisplay >= 0 && $priceDisplay <= 2} {convertPrice price=$productPrice} {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if} {/if} {if $priceDisplay == 2} {convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)} {l s='tax excl.'} {/if}

{if $product->specificPrice AND $product->specificPrice.reduction}

{if $priceDisplay >= 0 && $priceDisplay <= 2} {if $productPriceWithoutRedution > $productPrice} {convertPrice price=$productPriceWithoutRedution} {if $tax_enabled && $display_tax_label == 1} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if} {/if} {/if}

{/if} {*{if $product->specificPrice AND $product->specificPrice.reduction_type == 'percentage'}

{l s='(price reduced by'} {$product->specificPrice.reduction*100} %{l s=')'}

{/if}*} {if $packItems|@count}

{l s='instead of'} {convertPrice price=$product->getNoPackPrice()}


{/if} {if $product->ecotax != 0}

{l s='include'} {if $priceDisplay == 2}{$ecotax_tax_exc|convertAndFormatPrice}{else}{$ecotax_tax_inc|convertAndFormatPrice}{/if} {l s='for green tax'} {if $product->specificPrice AND $product->specificPrice.reduction}*{/if}

{/if} {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} {math equation="pprice / punit_price" pprice=$productPrice punit_price=$product->unit_price_ratio assign=unit_price}

{convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}

{/if} {*close if for show price*} {/if}
{if isset($groups)}
{foreach from=$groups key=id_attribute_group item=group} {if $group.attributes|@count}

{assign var="groupName" value="group_$id_attribute_group"}

{/if} {/foreach}
{/if} {*

reference}style="display: none;"{/if}>{$product->reference|escape:'htmlall':'UTF-8'}

*}

quantity <= 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} />

minimal_quantity <= 1 OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>{l s='You must add '} {$product->minimal_quantity} {l s=' as a minimum quantity to buy this product.'}

{if $product->minimal_quantity > 1} {/if}
quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block">

quantity <= 0 && !$product->available_later && $allow_oosp) OR ($product->quantity > 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> {l s='Availability:'} quantity <= 0} class="warning_inline"{/if}> {if $product->quantity <= 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if}

{if ($display_qties == 1 && !$PS_CATALOG_MODE && $product->available_for_order)}

quantity <= 0} style="display: none;"{/if}> {$product->quantity|intval} quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='item in stock'} quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'}

{/if} {if !$allow_oosp}

quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS}

{/if}

quantity > $last_qties OR $product->quantity <= 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if} >{l s='Warning: Last items in stock!'}

{if $product->online_only}
{l s='Coup de coeur'}

{l s='Bébé Boutik aime ce produit : parce qu’il est innovant, pratique, parce qu’il éveille votre enfant par ses couleurs, sa texture, ses fonctions, ou parce qu’il l’habille avec douceur et originalité, Bébé Boutik vous le recommande !'}

{/if} {if $sale->delivery_delay == 2 || $sale->delivery_delay == 3 || $sale->delivery_delay == 4 || $sale->delivery_delay == 5 || $sale->delivery_delay == 6 || $sale->delivery_delay == 7}
online_only}style="top:55px;"{/if}> {include file="./themes/site/delay_product.tpl" delivery_delay=$sale->delivery_delay}
{/if} {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if}
{/if} {if $product->description_more}
{$product->description_more}
{/if}
{if isset($colors) && $colors}

{l s='Pick a color:' js=1}

{/if} {if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference OR (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)} {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} {if $product->videos || $product->description_short || $product->description || $features || $accessories || $HOOK_PRODUCT_TAB || $attachments}
{if !empty($product->description_short)}
{$product->description_short}
{/if} {if !empty($product->description)}
{$product->description}
{/if}
{if !empty($product->videos)}
{$product->videos}
{/if}
{if $sale->delivery_delay == 2 || $sale->delivery_delay == 3 || $sale->delivery_delay == 4 || $sale->delivery_delay == 5 || $sale->delivery_delay == 6 || $sale->delivery_delay == 7} {include file="./themes/site/delay.tpl" delivery_delay=$sale->delivery_delay} {else} {l s='Livraison estimée sous'}
{l s=' 3 semaines'} {/if}
{l s='Commandez plusieurs marques'}
{l s='= un seul frais de port !'}
{l s='Paiement'} {l s='sécurisé'}
{l s='Paypal & CB'}
{if isset($delivery_date)}
{foreach from=$delivery_date key=key item=date} {if $key == 1}

{$date.name} : {l s='Date de réception prévue entre le'} {$date.date_start|date_format:'%d/%m/%Y'} {l s='et le'} {$date.date_end|date_format:'%d/%m/%Y'}

{elseif $key == 5}

{$date.name} : {l s='Livraison prévue avant le'} {l s='24/12'}

{/if} {/foreach}
{/if}
{if !empty($product->description_delivery)} {$product->description_delivery} {/if}
{if $features}
    {foreach from=$features item=feature}
  • {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'}
  • {/foreach}
{/if} {if $attachments} {/if} {if isset($accessories) AND $accessories}
      {foreach from=$accessories item=accessory name=accessories_list} {assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)}
    • {$accessory.name|truncate:22:'...':true|escape:'htmlall':'UTF-8'}

      {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}{if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}{/if} {l s='View'} {if ($accessory.allow_oosp || $accessory.quantity > 0) AND $accessory.available_for_order AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} {l s='Add to cart'} {else} {l s='Add to cart'} {if (isset($accessory.quantity_all_versions) && $accessory.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if} {/if}

    • {/foreach}
{/if} {$HOOK_PRODUCT_TAB_CONTENT}
{/if} {if $product->ecotax != 0} {if $product->specificPrice AND $product->specificPrice.reduction}

{l s='* not impacted by the discount'}

{/if} {/if}

{if $quantity_discounts}
{foreach from=$quantity_discounts item='quantity_discount' name='quantity_discounts'} {/foreach} {foreach from=$quantity_discounts item='quantity_discount' name='quantity_discounts'} {/foreach}
{$quantity_discount.quantity|intval} {if $quantity_discount.quantity|intval > 1} {l s='quantities'} {else} {l s='quantity'} {/if}
{if $quantity_discount.price != 0 OR $quantity_discount.reduction_type == 'amount'} -{convertPrice price=$quantity_discount.real_value|floatval} {else} -{$quantity_discount.real_value|floatval}% {/if}
{/if} {$HOOK_PRODUCT_FOOTER} {*{if $product->customizable}

Informations {l s='After saving your customized product, remember to add it to your cart.'} {if $product->uploadable_files}
{l s='Allowed file formats are: GIF, JPG, PNG'}{/if}

{if $product->uploadable_files|intval}

{l s='Pictures'}

    {counter start=0 assign='customizationField'} {foreach from=$customizationFields item='field' name='customizationFields'} {if $field.type == 0}
  • {assign var='key' value='pictures_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} {if isset($pictures.$key)}{/if}
    {if $field.required}*{/if}
    {if !empty($field.name)}{$field.name}{else}{l s='Please select an image file from your hard drive'}{/if}
  • {counter} {/if} {/foreach}
{/if}
{if $product->text_fields|intval}

{l s='Texts'}

    {counter start=0 assign='customizationField'} {foreach from=$customizationFields item='field' name='customizationFields'} {if $field.type == 1}
  • {assign var='key' value='textFields_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} {if !empty($field.name)}{$field.name}{/if}{if $field.required}*{/if}
  • {counter} {/if} {/foreach}
{/if}

* {l s='required fields'}

{/if}*} {*{if $packItems|@count > 0}

{l s='Pack content'}

{include file="$tpl_dir./product-list.tpl" products=$packItems}
{/if}*} {/if} {include file="$tpl_dir./product-add_to_cart.tpl" product=$product}