diff --git a/templates/frontOffice/custom/includes/single-product.html b/templates/frontOffice/custom/includes/single-product.html index e63dad03..d92e5165 100644 --- a/templates/frontOffice/custom/includes/single-product.html +++ b/templates/frontOffice/custom/includes/single-product.html @@ -39,8 +39,8 @@
- - {if $_PROVENANCE ne ""}{$_PROVENANCE}{else}{intl l="Non précisé"}{/if} + + {if $_PROVENANCE ne ""}{$_PROVENANCE}{else}{intl l="Non précisée"}{/if}
{* Stock *} @@ -74,6 +74,7 @@ {intl l="From %price" price={format_money number=$TAXED_PROMO_PRICE}} {loop name="attributes" type="attribute" product="$product_id" order="manual"} {$TITLE} + {if ($LOOP_TOTAL > 1) && ($LOOP_COUNT < $LOOP_TOTAL)} ou {/if} {/loop} @@ -89,11 +90,10 @@ {loop type="product_sale_elements" name="pse" default=1 product=$product_id} {format_money number=$TAXED_PROMO_PRICE} - {if $LOOP_COUNT = 1} - {loop name="attributes" type="attribute" product="$product_id" order="manual"} - {$TITLE} - {/loop} - {/if} + {loop name="attributes" type="attribute" product="$product_id" order="manual"} + {$TITLE} + {if ($LOOP_TOTAL > 1) && ($LOOP_COUNT < $LOOP_TOTAL)} ou {/if} + {/loop} {if $SHOW_ORIGINAL_PRICE} @@ -112,6 +112,7 @@ {intl l="From %price" price={format_money number=$TAXED_PRICE}} {loop name="attributes" type="attribute" product="$product_id" order="manual"} {$TITLE} + {if ($LOOP_TOTAL > 1) && ($LOOP_COUNT < $LOOP_TOTAL)} ou {/if} {/loop} {/loop} @@ -119,11 +120,10 @@ {elseloop rel="dp"} {loop type="product_sale_elements" name="pse" default=1 product=$product_id} {format_money number=$TAXED_PRICE} - {if $LOOP_COUNT = 1} - {loop name="attributes" type="attribute" product="$product_id" order="manual"} - {$TITLE} - {/loop} - {/if} + {loop name="attributes" type="attribute" product="$product_id" order="manual"} + {$TITLE} + {if ($LOOP_TOTAL > 1) && ($LOOP_COUNT < $LOOP_TOTAL)} ou {/if} + {/loop} {/loop} {/elseloop}