{if $cartex} {else} {/if} {if isset($colors) && $colors}

{l s='Pick a color:' mod='expresscart' 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)}
quantity > 0}class="hidden"{/if} action="{$link->getPageLink('cart.php')}" method="post">

{$product->name}

{assign var=id_image value=Product::getCover($product->id)} {$product->name|escape:'htmlall':'UTF-8'}
{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 ' mod='expresscart'} {$product->minimal_quantity} {l s=' as a minimum quantity to buy this product.' mod='expresscart'}

{if $product->minimal_quantity > 1} {/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->specificPrice AND $product->specificPrice.reduction}

{l s='Old price:' mod='expresscart'} {if $priceDisplay >= 0 && $priceDisplay <= 2} {if $productPriceWithoutRedution > $productPrice} {convertPrice price=$productPriceWithoutRedution} {/if} {/if}

{/if}

{*{if $product->on_sale} {l s='On sale' mod='expresscart'} {l s='On sale!' mod='expresscart'} {elseif $product->specificPrice AND $product->specificPrice.reduction AND $productPriceWithoutRedution > $productPrice} {l s='Reduced price!' mod='expresscart'} {/if}
*} {l s='Our price:' mod='expresscart'} {if $priceDisplay >= 0 && $priceDisplay <= 2} {convertPrice price=$productPrice} {assign var='reduction' value=$product->specificPrice.reduction*100} {l s='(-'}{$reduction|ceil} {l s='%)'} {/if} {if $priceDisplay == 2} {convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)} {l s='tax excl.' mod='expresscart'} {/if}

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

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

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

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


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

{l s='include' mod='expresscart'} {if $priceDisplay == 2}{$ecotax_tax_exc|convertAndFormatPrice}{else}{$ecotax_tax_inc|convertAndFormatPrice}{/if} {l s='for green tax' mod='expresscart'} {if $product->specificPrice AND $product->specificPrice.reduction}
{l s='(not impacted by the discount)' mod='expresscart'} {/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' mod='expresscart'} {$product->unity|escape:'htmlall':'UTF-8'}

{/if} {*close if for show price*} {/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}> {*{l s='Availability:' mod='expresscart'}*} 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' mod='expresscart'}{/if}{else}{$product->available_now}{/if}

{/if}