Jump to content

Make "accessories" tab selected, instead of "more info".


dixie

Recommended Posts

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

  • 2 months later...
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

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

  • 3 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...