dixie Posted November 27, 2011 Share Posted November 27, 2011 Is there a way to make the "accessories" tab and contents show when a customer goes to the product page, instead of the "more info" tab and contents. With the products I sell, I don't have much "more info", but would like customers to see the "accessories" available when they first go to the product page (without having to click on the "accessories" tab. I don't know code, but I can copy and paste, or comment out. Thank you for any help. Link to comment Share on other sites More sharing options...
Fred Timor Posted February 13, 2012 Share Posted February 13, 2012 Is there a way to make the "accessories" tab and contents show when a customer goes to the product page, instead of the "more info" tab and contents. With the products I sell, I don't have much "more info", but would like customers to see the "accessories" available when they first go to the product page (without having to click on the "accessories" tab. I don't know code, but I can copy and paste, or comment out. Thank you for any help. Did you find an answer? I'm looking for the same :-) Link to comment Share on other sites More sharing options...
cankart Posted February 21, 2012 Share Posted February 21, 2012 Hi Have you found the solution? Link to comment Share on other sites More sharing options...
cankart Posted February 21, 2012 Share Posted February 21, 2012 Hi I checked the product.tpl file and play with it, it looks like it worked. Go to line 411 (if you can not see search for <div id="more_info_block" class="clear"> ) select from line 412 to 415 and copy paste over this area( {if isset($accessories) AND $accessories}<li><a href="#idTab4">{l s='Accessories'}</a></li>{/if} {if $product->description}<li><a id="more_info_tab_more_info" href="#idTab1">{l s='More info'}</a></li>{/if} {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} {if $attachments}<li><a id="more_info_tab_attachments" href="#idTab9">{l s='Download'}</a></li>{/if} Link to comment Share on other sites More sharing options...
tomerg3 Posted February 21, 2012 Share Posted February 21, 2012 Check out this free module http://www.presto-changeo.com/en/prestashop-free-modules/33-product-accessories.html , it lets you display the accessories in a more visible way... Link to comment Share on other sites More sharing options...
michal110011 Posted March 11, 2012 Share Posted March 11, 2012 And what if I wanted to show "features" first? I tried change tab IDs, class and order of elements, but nothing worked. Link to comment Share on other sites More sharing options...
Scotty501 Posted March 11, 2012 Share Posted March 11, 2012 You can change the list order just by sitching the items in the list around - /yourtheme/product.tpl Somewhere you will have something like this {if $product->description}<li><a id="more_info_tab_more_info" href="#idTab1">{l s='More info'}</a></li>{/if} {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} Switch them around and it will change the order - that should work. Take a back-up of your product.tpl beforehand in case you get it wrong - but of course you knew that 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