{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 $product->quantity > 0} {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}

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}
{if $product->quantity > 0}

{/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' mod='expresscart'}{/if}{else}{$product->available_now}{/if}

{/if}