{* * 2007-2013 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-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture assign='page_title'}{$product->name|escape:'htmlall':'UTF-8'}{/capture} {include file='./page-title.tpl'} {include file='./product-js.tpl'}
{if isset($confirmation) && $confirmation}

{$confirmation}

{/if} {include file="./product-images.tpl"} {if $product->description_short OR $packItems|@count > 0} {if $product->description_short}
{$product->description_short}
{/if} {/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} {if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference}
quantity > 0}class="hidden"{/if} action="{$link->getPageLink('cart')|escape:'html'}" method="post" data-ajax="false">
{include file="./product-attributes.tpl"}
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 OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> {l s='This product is not sold individually. You must select at least'} {$product->minimal_quantity} {l s='quantity for this product.'}
{*if $product->minimal_quantity > 1} {/if*}
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}>
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} {* à checker avec JS *} {* ================================== *}

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->show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}
{include file="./product-prices.tpl"} {else}
{/if}
{hook h="displayMobileAddToCartTop"}
{assign var='cart_btn_class' value='btn-cart'} {assign var='cart_btn_icon' value=''} {assign var='cart_btn_theme' value='e'} {if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} {assign var='cart_btn_class' value=$cart_btn_class|cat:' disabled'} {assign var='cart_btn_theme' value='c'} {else} {assign var='cart_btn_icon' value='data-icon="plus"'} {/if}
{/if} {* à checker avec JS *} {* ================================== *} {include file="./product-quantity-discount.tpl"} {* ================================== *}
{include file="./product-desc-features.tpl"} {if isset($packItems) && $packItems|@count > 0}

{l s='Pack content'}

{include file="./category-product-list.tpl" products=$packItems}
{/if}
{if isset($HOOK_PRODUCT_FOOTER) && $HOOK_PRODUCT_FOOTER}{$HOOK_PRODUCT_FOOTER}{/if}