deech123 Posted June 19, 2010 Share Posted June 19, 2010 Hi,I'm working an a very large shop with 10000 products.I want to start my productdetail page with the Features tab showed at first.this because this tab has a lot of very important info. And if they want more info, they can click the tab or the button : more info.any idea how I can manage this?ths Link to comment Share on other sites More sharing options...
rocky Posted June 20, 2010 Share Posted June 20, 2010 Switching the tabs around should do the trick. Move the following line 332 of product.tpl in your theme's directory (in PrestaShop v1.3.1) up a line: {if $features}<a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}{/if} and move the following code on lines 342-349 up four lines above the {if $product->description}: > {if $features} <!-- product's features --> </pre> <ul> {foreach from=$features item=feature} {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'} {/foreach} </ul> <br>{/if Link to comment Share on other sites More sharing options...
deech123 Posted June 20, 2010 Author Share Posted June 20, 2010 thx rocky,but I saw just move the line on 332 before the more info did the trick.the whole features tag on 342-349 can stay at place I saw.thanks for you help ! ;-) 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