hesusko Posted October 29, 2014 Share Posted October 29, 2014 How do i add a customized product tab above More Info for the product page in prestashop? For now I am hard coding that part but it takes alot of time especially if more products will be adding the same feature. Link to comment Share on other sites More sharing options...
vekia Posted October 29, 2014 Share Posted October 29, 2014 hello for what theme and what prestashop version? Link to comment Share on other sites More sharing options...
hesusko Posted October 29, 2014 Author Share Posted October 29, 2014 Prestashop 1.6.0.8 - it's the default bootstrap. I want to add a single customized product tab above more info. Actually I've tried editing the product.tpl. But if I have multiple tabs ,it transfers above the more info tab. Link to comment Share on other sites More sharing options...
vekia Posted October 29, 2014 Share Posted October 29, 2014 Let's clarify prestashop to create tabs uses hooks: - productTab - productTabContents to create tabs, you will have to move code with these hooks above the "more info" <div id="more_info_block" class="clear"> <ul id="more_info_tabs" class="idTabs idTabsShort clearfix"> {$HOOK_PRODUCT_TAB} </ul> </div> <div id="more_info_sheets" class="sheets align_justify"> {$HOOK_PRODUCT_TAB_CONTENT} </div> Link to comment Share on other sites More sharing options...
hesusko Posted October 29, 2014 Author Share Posted October 29, 2014 (edited) If I do that, all the tabs that I created will move up above the "more info" tab right? I have a product_tab creator module by the way so I make tabs in there. I'm really sorry I'm new to prestashop. Edited October 29, 2014 by hesusko (see edit history) Link to comment Share on other sites More sharing options...
hesusko Posted October 29, 2014 Author Share Posted October 29, 2014 Example I have More info Tab 1 Tab 2 Tab 3 I want to reorder it to look like Tab 1 More Info Tab 2 Tab 3 Is that possible? Link to comment Share on other sites More sharing options...
Recommended Posts