{loop name="cat" type="category" page="{$category_current_page}" limit="2"}
-
#LOOP_COUNT - #TITLE
+
{$LOOP_COUNT} - {$TITLE}
Products :
@@ -17,23 +17,23 @@
{assign var=product_current_page value={$smarty.get.$this_product_getter|default:1}}
- {loop name="prod" type="product" category="#ID" page="{$product_current_page}" limit="2"}
+ {loop name="prod" type="product" category="$ID" page="{$product_current_page}" limit="2"}
-
- #ID:#REF
+ {$ID}:{$REF}
{/loop}
-
#TITLE page choice
+
{$TITLE} page choice
{pageloop rel="prod"}
- {if ${PAGE} != {$product_current_page}}
-
#PAGE
+ {if $PAGE != $product_current_page}
+
{$PAGE}
{else}
- { #PAGE }
+ {$PAGE}
{/if}
- {if {$PAGE} != {$LAST}}
+ {if $PAGE != $LAST}
-
{/if}
{/pageloop}
@@ -44,12 +44,12 @@
categories page choice
{pageloop rel="cat"}
-{if ${PAGE} != {$category_current_page}}
-
#PAGE
+{if $PAGE != $category_current_page}
+
{$PAGE}
{else}
- { #PAGE }
+ {$PAGE}
{/if}
-{if {$PAGE} != {$LAST}}
+{if $PAGE != $LAST}
-
{/if}
{/pageloop}
@@ -62,18 +62,18 @@ Pagination before loop
{capture name="prod2"}
{loop name="prod2" type="product" page="{$product_current_page}" limit="2"}
- #ID:#REF
+ {$ID}:{$REF}
{/loop}
{/capture}
{pageloop rel="prod2"}
{if ${PAGE} != {$product_current_page}}
-
#PAGE
+
{$PAGE}
{else}
- { #PAGE }
+ {$PAGE}
{/if}
- {if {$PAGE} != {$LAST}}
+ {if $PAGE != $LAST}
-
{/if}
{/pageloop}
@@ -82,11 +82,11 @@ Pagination before loop
{pageloop rel="prod2"}
{if ${PAGE} != {$product_current_page}}
-
#PAGE
+
{$PAGE}
{else}
- { #PAGE }
+ {$PAGE}
{/if}
- {if {$PAGE} != {$LAST}}
+ {if $PAGE != $LAST}
-
{/if}
{/pageloop}
diff --git a/templates/default_save/product.html b/templates/default_save/product.html
index c3e68fd71..55de8362d 100755
--- a/templates/default_save/product.html
+++ b/templates/default_save/product.html
@@ -1,8 +1,3 @@
-
-
-
-
-
Here you are : {navigate to="current"}
From : {navigate to="return_to"}
Index : {navigate to="index"}
@@ -14,17 +9,17 @@ Index : {navigate to="index"}
{loop type="product" name="product" current="true"}
-
PRODUCT (#ID) : #REF
-
#TITLE
-
#DESCRIPTION
+
PRODUCT ({$ID}) : {$REF}
+
{$TITLE}
+
{$DESCRIPTION}
-
Starting by #BEST_PRICE {currency attr="symbol"} HT (TAX : #BEST_PRICE_TAX ; #BEST_TAXED_PRICE {currency attr="symbol"} TTC)
+
Starting by {$BEST_PRICE} {currency attr="symbol"} HT (TAX : {$BEST_PRICE_TAX} ; {$BEST_TAXED_PRICE} {currency attr="symbol"} TTC)
{ifloop rel="acc"}
Accessories
- {loop name="acc" type="accessory" product="#ID" order="accessory"}
- - #REF
+ {loop name="acc" type="accessory" product="$ID" order="accessory"}
+ - {$REF}
{/loop}
{/ifloop}
@@ -35,8 +30,8 @@ Index : {navigate to="index"}
{ifloop rel="prod_ass_cont"}
Associated Content
- {loop name="prod_ass_cont" type="associated_content" product="#ID" order="associated_content"}
- - #TITLE
+ {loop name="prod_ass_cont" type="associated_content" product="$ID" order="associated_content"}
+ - {$TITLE}
{/loop}
{/ifloop}
@@ -47,12 +42,12 @@ Index : {navigate to="index"}
{ifloop rel="ft"}
Features
- {assign var=current_product value=#ID}
- {loop name="ft" type="feature" order="manual" product="#ID"}
+ {assign var=current_product value=$ID}
+ {loop name="ft" type="feature" order="manual" product="$ID"}
-
- #TITLE :
- {loop name="ft_v" type="feature_value" product="{$current_product}" feature="#ID"}
- #TITLE / #PERSONAL_VALUE
+ {$TITLE} :
+ {loop name="ft_v" type="feature_value" product="{$current_product}" feature="$ID"}
+ {$TITLE} / {$PERSONAL_VALUE}
{/loop}
{/loop}
@@ -64,18 +59,18 @@ Index : {navigate to="index"}
Product sale elements
- {assign var=current_product value=#ID}
- {loop name="pse" type="product_sale_elements" product="#ID"}
+ {assign var=current_product value=$ID}
+ {loop name="pse" type="product_sale_elements" product="$ID"}
- {loop name="combi" type="attribute_combination" product_sale_elements="#ID"}
- #ATTRIBUTE_TITLE = #ATTRIBUTE_AVAILABILITY_TITLE
+ {loop name="combi" type="attribute_combination" product_sale_elements="$ID"}
+ {$ATTRIBUTE_TITLE} = {$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop}
-
#WEIGHT g
-
{if #IS_PROMO == 1} #PROMO_PRICE {currency attr="symbol"} HT // TAX : #PROMO_PRICE_TAX ; #TAXED_PROMO_PRICE {currency attr="symbol"} TTC (instead of #PRICE HT // TAX : #PRICE_TAX ; #TAXED_PRICE {currency attr="symbol"} TTC){else} #PRICE {currency attr="symbol"} HT // TAX : #PRICE_TAX ; #TAXED_PRICE {currency attr="symbol"} TTC{/if}
+
{$WEIGHT} g
+
{if $IS_PROMO == 1} {$PROMO_PRICE} {currency attr="symbol"} HT // TAX : {$PROMO_PRICE_TAX} ; {$TAXED_PROMO_PRICE} {currency attr="symbol"} TTC (instead of {$PRICE HT} // TAX : {$PRICE_TAX} ; {$TAXED_PRICE} {currency attr="symbol"} TTC){else} {$PRICE} {currency attr="symbol"} HT // TAX : {$PRICE_TAX} ; {$TAXED_PRICE} {currency attr="symbol"} TTC{/if}
Add
@@ -92,8 +87,4 @@ Index : {navigate to="index"}
{elseloop rel="product"}
Produit introuvable !
-{/elseloop}
-
-
-
-
\ No newline at end of file
+{/elseloop}
\ No newline at end of file
diff --git a/templates/default_save/tester.html b/templates/default_save/tester.html
index b53396d3f..658339d50 100755
--- a/templates/default_save/tester.html
+++ b/templates/default_save/tester.html
@@ -2,8 +2,8 @@
{loop name="car" type="category"}
-
- {loop name="product" type="product" category="#ID"}
- - #REF
+ {loop name="product" type="product" category="$ID"}
+ - {$REF}
{/loop}