setting specification tab as default

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart Themesetting specification tab as default

This topic has been marked as resolved.

hello

if i take this page as an example

http://wehaveany.com/shop/if-i-lay-here-snow-patrol

i really don’t use the description tab

so if i could get rid of that and set the specification tab as default?

i know its in product.tpl but i dont know how to do it

thanks

  • This reply was modified 4225 days ago by  s31teg.
 s31teg
October 11, 2012 at 1:15 pm #14236

update

ive just swapped 2 lines

is this good coding practice?

   <div class="s_tabs">
          <?php if ($tabs_num > 1): ?>
          <ul class="s_tabs_nav s_<?php echo $tabs_num ?>col_wrap clearfix">
             <li class="s_1_<?php echo $tabs_num ?>"><a href="#product_attributes"><?php echo $tab_attribute; ?></a></li>
            <?php endif; ?>
            <li class="s_1_<?php echo $tabs_num ?>"><a href="#product_description"><?php echo $tab_description; ?></a></li>
            <?php if ($attribute_groups): ?>
            <?php if ($review_status): ?>
            <li class="s_1_<?php echo $tabs_num ?>"><a href="#product_reviews"><?php echo $tab_review; ?></a></li>
            <?php endif; ?>
            <?php if ($images && $tbData->common['product_gallery_position'] == 'tab'): ?>
            <li class="s_1_<?php echo $tabs_num ?>"><a href="#product_gallery"><?php echo $tbData->text_product_tab_images; ?> (<?php echo count($images); ?>)</a></li>
            <?php endif; ?>
          </ul>
          <?php endif; ?>
 

  • This reply was modified 4225 days ago by  s31teg.
  • This reply was modified 4225 days ago by  s31teg.
  • This reply was modified 4225 days ago by  s31teg.
  • This reply was modified 4225 days ago by  s31teg.
  • This reply was modified 4225 days ago by  s31teg.
  • This reply was modified 4225 days ago by  s31teg.
  • This reply was modified 4225 days ago by  s31teg.
  • This reply was modified 4225 days ago by  s31teg.
 s31teg
October 11, 2012 at 1:37 pm #14241

No problem at all :)

Best,
ThemeBurn team

October 16, 2012 at 11:56 am #14372
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.