diff --git a/templates/frontOffice/default/includes/single-product.html b/templates/frontOffice/default/includes/single-product.html index 3651195ea..941742ca1 100644 --- a/templates/frontOffice/default/includes/single-product.html +++ b/templates/frontOffice/default/includes/single-product.html @@ -1,62 +1,68 @@ -{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"} +
  • + {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=$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} - -
    - {loop name="product_thumbnail" type="image" product="$product_id" width="{$width}" height="{$height}" resize_mode="borders" limit="1"} - Product #{$LOOP_COUNT} {/loop} - - - - -
    + -
    -

    {$TITLE}

    - {if $hasDescription} +
    +

    {$productTitle}

    + {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 $hasBtn == true} + +
    +
    + + + + + + {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} + {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} {form name="thelia.cart.add" } -
    + {form_hidden_fields form=$form} @@ -126,6 +132,7 @@
    {/form} - {/if} -
    -
    + {/if} + +
  • +