tozi Posted May 18, 2014 Share Posted May 18, 2014 (edited) Hi all, it is possible show "features" of product in another position in product.tpl? Link is here http://www.autobaterie-adac.cz/index.php?id_product=121173&controller=product I have presta 1.5.6.1 edit: i tried this {if isset($features) && $features} <!-- product's features --> <ul id="idTab2" class="bullet"> {foreach from=$features item=feature} {if isset($feature.value)} <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li> {/if} {/foreach} </ul> {/if} But nothing happend. Edited May 18, 2014 by tozi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 18, 2014 Share Posted May 18, 2014 it's probably because you use <ul id="idTab2" class="bullet"> it's a "tabs" feature, so it means that this block is visible only when "features" are selected in tab menu change id="idTab2" to some other, or just remove it. Link to comment Share on other sites More sharing options...
tozi Posted May 18, 2014 Author Share Posted May 18, 2014 (edited) The problem is not in it. The features didnt show also in tab menu. edit: It is possible that the problem is in the db? If so where could it be? Edited May 18, 2014 by tozi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 18, 2014 Share Posted May 18, 2014 so perhaps there is no features for this product? or your code is commented out somewhere in product.tpl file? or you've got some css styles to hide this block? Link to comment Share on other sites More sharing options...
tozi Posted May 18, 2014 Author Share Posted May 18, 2014 Features in product is there. Code is not commented. CSS block is not there. I have new install here http://zahradny.simplydesign.sk/index.php?id_product=2&controller=product&id_lang=1 and it works. Now I have a problem, how to import all products. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now