From 875358dd310dc2bae4788dd2d8bc027a835347de Mon Sep 17 00:00:00 2001 From: vChabot Date: Thu, 8 Sep 2011 16:22:20 +0000 Subject: [PATCH] [*] FO : improved tab in product page git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8429 b9a71923-0436-4b27-9f14-aed3839534dd --- themes/prestashop/product.tpl | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/themes/prestashop/product.tpl b/themes/prestashop/product.tpl index 1bebb189f..533c1c67e 100644 --- a/themes/prestashop/product.tpl +++ b/themes/prestashop/product.tpl @@ -410,13 +410,24 @@ var fieldRequired = '{l s='Please fill in all required fields, then save the cus {if $product->description || $features || $accessories || $HOOK_PRODUCT_TAB || $attachments}
- + {if $product->description && !$features && !$accessories && !$attachments && !$HOOK_PRODUCT_TAB} +

{l s='More info'}

+ {elseif $features && !$product->description && !$accessories && !$attachments && !$HOOK_PRODUCT_TAB} +

{l s='Data sheet'}

+ {elseif (isset($accessories) AND $accessories) && !$product->description && !$features && !$attachments && !$HOOK_PRODUCT_TAB} +

{l s='Accessories'}

+ {elseif $attachments && !$product->description && !$features && !$accessories && !$HOOK_PRODUCT_TAB} +

{l s='Download'}

+ {else} + + {/if} +
{if $product->description}