thalloderma Posted September 19, 2016 Share Posted September 19, 2016 Hello, Can someone help me to remove this? I think this is some kind of a bug with the tabs in the product page. Thank you! Link to comment Share on other sites More sharing options...
thalloderma Posted September 19, 2016 Author Share Posted September 19, 2016 Someone? Link to comment Share on other sites More sharing options...
Simonas Invertus Posted September 20, 2016 Share Posted September 20, 2016 It's probably the problem with css file. If you bought design it would be wise to contact developer. If you provide link to your shop we will try to point you to the code which needs to be changed. Link to comment Share on other sites More sharing options...
thalloderma Posted September 20, 2016 Author Share Posted September 20, 2016 (edited) Hello, here is the link http://thalloderma.tk/presta/index.php?id_product=15&controller=product&id_lang=1 And yes, I have bought the design, but the support time is over, so I dont know if they gonna respond and help me Edited September 20, 2016 by thalloderma (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted September 20, 2016 Share Posted September 20, 2016 It's hard to help without having access to your theme, but it seems you have an extra tab with no label and no tab content. You should edit product.tpl and look in the tabs section of the code. Link to comment Share on other sites More sharing options...
thalloderma Posted September 20, 2016 Author Share Posted September 20, 2016 Ok, i will try to look for this, and hope i can get that done! If not i will write back Link to comment Share on other sites More sharing options...
Simonas Invertus Posted September 20, 2016 Share Posted September 20, 2016 I am guessing that this is a bug in theme. Problem: you have only one tab, but it prints code for two. CODE: <ul class="nav nav-tabs"> <li class="active"><a href="#tabs-1" data-toggle="tab">Description</a></li> <li><a href="#tabs-3" data-toggle="tab"></a></li> </ul> As you can see tabs-1 is the one you have, but why tabs-3 is added? Link to comment Share on other sites More sharing options...
thalloderma Posted September 21, 2016 Author Share Posted September 21, 2016 Because I'm not very good with codding, here is what I found, what should i delete here? Or I shouldn't delete anything <div id="more_info_block"> <div class="tabs-info"> <ul class="nav nav-tabs"> {if $product->description}<li class="active"><a href="#tabs-1" data-toggle="tab">{l s='Description'}</a></li>{/if} {if isset($features) && $features} <li><a href="#tabs-2" data-toggle="tab">{l s='Specification'}</a></li> {/if} <li><a href="#tabs-3" data-toggle="tab">{$HOOK_PRODUCT_TAB}</a></li> </ul> </div> <div class="tab-content"> {if isset($product) && $product->description} <div id="tabs-1" class="tab-pane active">{$product->description}</div> {/if} {if isset($features) && $features} <div id="tabs-2" class="tab-pane"> <!-- Data sheet --> <section class="page-product-box"> <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 --> </div> {/if} {if isset($HOOK_PRODUCT_TAB_CONTENT) && $HOOK_PRODUCT_TAB_CONTENT} <div id="tabs-3" class="tab-pane">{$HOOK_PRODUCT_TAB_CONTENT}</div> {/if} </div> </div> </div> <!-- end pb-right-column--> </div> <!-- end primary_block --> Link to comment Share on other sites More sharing options...
rocky Posted September 21, 2016 Share Posted September 21, 2016 Try changing: <li><a href="#tabs-3" data-toggle="tab">{$HOOK_PRODUCT_TAB}</a></li> to: {if isset($HOOK_PRODUCT_TAB) && $HOOK_PRODUCT_TAB}<li><a href="#tabs-3" data-toggle="tab">{$HOOK_PRODUCT_TAB}</a></li>{/if} Link to comment Share on other sites More sharing options...
thalloderma Posted September 21, 2016 Author Share Posted September 21, 2016 Thank you very much! That worked! Link to comment Share on other sites More sharing options...
Simonas Invertus Posted September 22, 2016 Share Posted September 22, 2016 As you can see in the code tabs-1 has if, tabs-2 has if, but tabs-3 doesn't this is the bug. You should update that part like this: {if isset($HOOK_PRODUCT_TAB) && $HOOK_PRODUCT_TAB} <li><a href="#tabs-3" data-toggle="tab">{$HOOK_PRODUCT_TAB}</a></li> {/if} Link to comment Share on other sites More sharing options...
thalloderma Posted September 22, 2016 Author Share Posted September 22, 2016 Ok, I'm starting to get it! I like this forum and the people that help! Thank you very much! 1 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