Jump to content
Sign in to follow this  
dwatte

<solved>Ta bort/gömma flik på produktsidan?

Recommended Posts

Hej!

Jag vill ta bort/gömma fliken "datablad" (d.v.s "funktioner") bredvid "mer info" längst ned på produktsidan. Hur gör jag det bäst?

Har PS 1.4.4.0

 

Daniel

http://nordicase.se

Share this post


Link to post
Share on other sites

Ta bort/kommentera ut:

 

{if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if}

 

i temats product.tpl

Share this post


Link to post
Share on other sites

Ok

innehållet försvann men fliken är kvar. Min /themes/product.tpl ser ut så här

{if $features}
 <!-- product's features -->
 <ul id="idTab2" class="bullet">
 {foreach from=$features item=feature}
  <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li>
 {/foreach}
 </ul>
{/if}

både original och min egen

MVH

DW

Share this post


Link to post
Share on other sites

Jag är senil. Jag hittade koden en liten bit från mitt tunnelseende

Tack Patrik

//DW

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More