diff --git a/templates/frontOffice/default/includes/single-product.html b/templates/frontOffice/default/includes/single-product.html index 600a6962f..3651195ea 100644 --- a/templates/frontOffice/default/includes/single-product.html +++ b/templates/frontOffice/default/includes/single-product.html @@ -1,68 +1,62 @@ -
  • - {assign var="hasSubmit" value = false} - {assign var="productTitle" value="{$TITLE}"} - {if not $product_id} - {assign var="$product_id" value=$ID} - {/if} -
    - - {loop name="brand.feature" type="feature" product=$product_id title="brand"} - {loop name="brand.value" type="feature_value" feature=$product_id product=$product_id} +{assign var="hasSubmit" value = false} +
    +{if not $product_id} +{assign var="$product_id" value=$ID} +{/if} + + {loop name="brand.feature" type="feature" product=$product_id title="brand"} + {loop name="brand.value" type="feature_value" feature=$ID product=$product_id} {/loop} - {/loop} - {loop name="brand.feature" type="feature" product=$product_id title="isbn"} + {/loop} + {loop name="brand.feature" type="feature" product=$product_id title="isbn"} {loop name="brand.value" type="feature_value" feature=$ID product=$product_id} {/loop} + {/loop} + + -
    -

    {$productTitle}

    - {if $hasDescription} +
    +

    {$TITLE}

    + {if $hasDescription}

    {$DESCRIPTION}

    + {/if} +
    + +
    +
    + + + + + {if $IS_PROMO } + {loop name="productSaleElements_promo" type="product_sale_elements" product=$product_id limit="1" order="min_price"} + {assign var="default_product_sale_elements" value=$ID} + {format_number number=$TAXED_PROMO_PRICE} {currency attr="symbol"} + {format_number number=$TAXED_PRICE} {currency attr="symbol"} + {/loop} + {else} + {format_number number=$BEST_TAXED_PRICE} {currency attr="symbol"} {/if} +
    - -
    -
    - - - - - - {if $IS_PROMO } - {loop name="productSaleElements_promo" type="product_sale_elements" product=$product_id limit="1" order="min_price"} - {assign var="default_product_sale_elements" value=$product_id} - {intl l="Special Price:"} {format_number number=$TAXED_PROMO_PRICE} {currency attr="symbol"} - {intl l="Regular Price:"} {format_number number=$TAXED_PRICE} {currency attr="symbol"} - {/loop} - {else} - {format_number number=$BEST_TAXED_PRICE} {currency attr="symbol"} - {/if} - -
    - {if $hasBtn == true} + {if $hasBtn == true} {form name="thelia.cart.add" } -
    + {form_hidden_fields form=$form} @@ -132,7 +126,6 @@
    {/form} - {/if} -
    -
    -
  • + {/if} + +