Soupyrik Posted September 25, 2012 Share Posted September 25, 2012 Hi, I'm new to presta shop but setting it up has been quite a breeze but now i'm stumped as was seeking a little help. On the product page on the tab where the features are displayed i have a bulleted list and want to know how to turn this to a table. The same table that appears when you compare products. I'm using 1.5 Thanks in advance 1 Link to comment Share on other sites More sharing options...
Soupyrik Posted September 25, 2012 Author Share Posted September 25, 2012 It's okay, I sorted it. I replaced <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> with <table id="idTab2"> {foreach from=$features item=feature} {if isset($feature.value)} <tr><td width="30%" class="featurestable"><span>{$feature.name|escape:'htmlall':'UTF-8'}</span></td><td class="featurestable"> {$feature.value|escape:'htmlall':'UTF-8'}</td></tr> {/if} {/foreach} </table> in the product.tpl file Then I added .featurestable { padding:5px; border-bottom:1px solid #ccc; } to the global.css file. Hope this helps 3 Link to comment Share on other sites More sharing options...
JrDeline Posted November 13, 2013 Share Posted November 13, 2013 thank's thats what i have search !!!! works perfect under 1.5.6. 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