- {if $PSE_COUNT > 1} {assign var="hasSubmit" value = false} {else} {assign var="hasSubmit" value = true} {/if} {assign var="productTitle" value="{$TITLE}"} {if not $product_id} {assign var="product_id" value=$ID} {/if}
  {hook name="singleproduct.top" product="{$product_id}"} {loop name="product_thumbnail" type="image" product=$product_id width="{$width}" height="{$height}" resize_mode="borders" limit="1"} {/loop} {elseloop rel="product_thumbnail"} {/elseloop}

  ## {$productTitle}

  {if $hasDescription}

  {$DESCRIPTION nofilter}

  {/if}
  {* Stock *} {assign var="current_stock_content" value = "in_stock"} {assign var="current_stock_href" value = "http://schema.org/InStock"} {if {config key="check-available-stock"} != 0} {if $VIRTUAL == 0 && $QUANTITY <= 0} {assign var="current_stock_content" value = "out_stock"} {assign var="current_stock_href" value = "http://schema.org/OutOfStock"} {/if} {/if}
  {* List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition *} {* List of currency : The currency used to describe the product price, in three-letter ISO format. *} {if $IS_PROMO } {assign var="combination_count" value={count type="product_sale_elements" promo="1" product=$ID}} {intl l="Special Price:"} {if $combination_count > 1} {intl l="From %price" price={format_money number=$BEST_TAXED_PRICE}} {else} {format_money number=$BEST_TAXED_PRICE} {/if} {if $SHOW_ORIGINAL_PRICE} {intl l="Regular Price:"} {format_money number=$TAXED_PRICE} {/if} {else} {format_money number=$BEST_TAXED_PRICE} {/if}
  {if $hasBtn == true} {if $hasSubmit == true && $current_stock_content == "in_stock"} {form name="thelia.cart.add" } {form_hidden_fields} {form_field field="append"} {/form_field} {if $form_error}
  {$form_error_message}
  {/if} {form_field field='product_sale_elements_id'} {/form_field} {form_field field="product"} {/form_field}
  {form_field field='quantity'}
  {$label} {if $error } {$message} {elseif $value != "" && !$error} {/if}
  {/form_field}
  {/form} {else}
  {intl l="View product"}
  {/if} {/if}
  {hook name="singleproduct.bottom" product={$product_id}}