rickd Posted March 13, 2012 Share Posted March 13, 2012 How do I change the tab order on the product page? I want Product Video tab to be the default tab and not more info (see attached screenshot) Link to comment Share on other sites More sharing options...
MEG Venture Posted March 13, 2012 Share Posted March 13, 2012 I guess you use a module for "Product video"... So what you should do is to find the product.tpl file under themes>your_theme folder and find {$HOOK_PRODUCT_TAB} cut it from there and paste it right after the line <ul id="more_info_tabs" class="idTabs idTabsShort"> then similarly, find {$HOOK_PRODUCT_TAB_CONTENT} cut it and paste right after the line <div id="more_info_sheets" class="sheets align_justify"> Before those, don't forget to backup your product.tpl file just in case. Good luck!!! 2 Link to comment Share on other sites More sharing options...
rickd Posted March 14, 2012 Author Share Posted March 14, 2012 Works great, many thanks. Link to comment Share on other sites More sharing options...
silentRun Posted August 12, 2013 Share Posted August 12, 2013 Thanks for the info mate Link to comment Share on other sites More sharing options...
spoonxaver2 Posted December 9, 2013 Share Posted December 9, 2013 Thanks You Link to comment Share on other sites More sharing options...
afshop Posted June 4, 2014 Share Posted June 4, 2014 I guess you use a module for "Product video"... So what you should do is to find the product.tpl file under themes>your_theme folder and find {$HOOK_PRODUCT_TAB} cut it from there and paste it right after the line <ul id="more_info_tabs" class="idTabs idTabsShort"> then similarly, find {$HOOK_PRODUCT_TAB_CONTENT} cut it and paste right after the line <div id="more_info_sheets" class="sheets align_justify"> Before those, don't forget to backup your product.tpl file just in case. Good luck!!! Thanks MEG! Your post is very useful! Angela 1 Link to comment Share on other sites More sharing options...
pskeeda Posted February 23, 2015 Share Posted February 23, 2015 I want my 'Data Sheet' as default tab in PS 1.6.0.11 how to do that? Link to comment Share on other sites More sharing options...
MEG Venture Posted February 24, 2015 Share Posted February 24, 2015 Data Sheet is already the default tab. If you don't see in place, it means that you don't have any feature assigned to that product. Link to comment Share on other sites More sharing options...
pskeeda Posted February 24, 2015 Share Posted February 24, 2015 In my case there are features assigned to products, but first tab is 'More Info', then 'Data Sheet' and then 'Comments' how to change the sequence? Link to comment Share on other sites More sharing options...
MEG Venture Posted February 24, 2015 Share Posted February 24, 2015 I see. By default, Prestashop 1.6.11 product template has the data sheet on top. I guess you are using a customized theme. I need to see your themes>product.tpl to give you the most correct answer, but you can try to find the below lines {if isset($features) && $features} <!-- Data sheet --> <section class="page-product-box"> <h3 class="page-product-heading">{l s='Data sheet'}</h3> <table class="table-data-sheet"> {foreach from=$features item=feature} <tr class="{cycle values="odd,even"}"> {if isset($feature.value)} <td>{$feature.name|escape:'html':'UTF-8'}</td> <td>{$feature.value|escape:'html':'UTF-8'}</td> {/if} </tr> {/foreach} </table> </section> <!--end Data sheet --> {/if} Cut them and paste it above the below code lines {if $product->description} <!-- More info --> <section class="page-product-box"> <h3 class="page-product-heading">{l s='More info'}</h3>{/if} {if isset($product) && $product->description} <!-- full description --> <div class="rte">{$product->description}</div> </section> <!--end More info --> {/if} That should work. Don't forget to clear cache and compile. 1 Link to comment Share on other sites More sharing options...
lauradfs Posted November 2, 2015 Share Posted November 2, 2015 Hi, I have tried this but I noticed that the first tab "More info" changed to "Reviews".I want the first tab "More info" changes with the second tab "Data Sheet". Is it possible? Thank you, Laura I guess you use a module for "Product video"...So what you should do is to find the product.tpl file under themes>your_theme folder and find {$HOOK_PRODUCT_TAB} cut it from there and paste it right after the line <ul id="more_info_tabs" class="idTabs idTabsShort"> then similarly,find {$HOOK_PRODUCT_TAB_CONTENT} cut it and paste right after the line <div id="more_info_sheets" class="sheets align_justify"> Before those, don't forget to backup your product.tpl file just in case.Good luck!!! Link to comment Share on other sites More sharing options...
MEG Venture Posted November 3, 2015 Share Posted November 3, 2015 Hi Laura - What is your prestashop version? Link to comment Share on other sites More sharing options...
Recommended Posts