From 85cc7b57dca43b4f7fc4df703e1bdfec4fdd7c84 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Tue, 20 Sep 2016 14:55:03 +0200 Subject: [PATCH] showing of comments for braderie on product page --- themes/site/product.tpl | 3 +++ themes/site_mobile/product.tpl | 21 ++++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/themes/site/product.tpl b/themes/site/product.tpl index aae23a6f..1dd0dad6 100755 --- a/themes/site/product.tpl +++ b/themes/site/product.tpl @@ -430,6 +430,9 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}'; {if $product->description_more}
{$product->description_more}
{/if} + {if $product->description_comment} +
{$product->description_comment}
+ {/if} {if isset($colors) && $colors} diff --git a/themes/site_mobile/product.tpl b/themes/site_mobile/product.tpl index 95dad049..f985e5ca 100755 --- a/themes/site_mobile/product.tpl +++ b/themes/site_mobile/product.tpl @@ -252,7 +252,7 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}'; {if $product->specificPrice AND $product->specificPrice.reduction}

- {l s='Instead of'} + {l s='Instead of'} {if $priceDisplay >= 0 && $priceDisplay <= 2} {if $productPriceWithoutRedution > $productPrice} {convertPrice price=$productPriceWithoutRedution} @@ -310,9 +310,9 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}'; {foreach from=$groups key=id_attribute_group item=group} {if $group.attributes|@count}

-

quantity <= 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} /> - +

+ - - + -

@@ -436,14 +436,14 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}'; {/if}*} {/if} - + {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} - {if $product->description_more || $product->videos || $product->description_short || $product->description || $features || $accessories || $HOOK_PRODUCT_TAB || $attachments} + {if $product->description_more || $product->description_comment || $product->videos || $product->description_short || $product->description || $features || $accessories || $HOOK_PRODUCT_TAB || $attachments}
{/if} @@ -543,7 +546,7 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}'; {/if} - + @@ -663,7 +666,7 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}'; var actual_quantity = $('#quantity_wanted').val(); if($(this).hasClass('upQuantity')) { - var new_quantity = parseInt(actual_quantity) + 1; + var new_quantity = parseInt(actual_quantity) + 1; } else if($(this).hasClass('downQuantity')) { var new_quantity = parseInt(actual_quantity) - 1; if(new_quantity == 0) {