vertical tabs

Is ist possible to have vertical tabs instead of accordion in woocommerce product page?

Comments

  • Hi,

    unfortunately it is not possible. Only accordion is possible for woocommerce product page.

    Thanks for understanding!
  • mhm, ok. But If I change the tabs template it would be possible?

    I have some coding knowledge but do not know how the tabs are implemented.

    what's the class name for horizontal tabs?

    I think this code need to be changed:


    $tabs = apply_filters( 'woocommerce_product_tabs', array() );

    if ( ! empty( $tabs ) ) : ?>

    <div class="accordion">
    <div class="mfn-acc accordion_wrapper open1st">
    <?php foreach ( $tabs as $key => $tab ) : ?>
    <div class="question">
    <div class="title">
    <i class="icon-plus acc-icon-plus"></i><i class="icon-minus acc-icon-minus"></i>
    <?php echo apply_filters( 'woocommerce_product_' . $key . '_tab_title', $tab['title'], $key ) ?>
    </div>
    <div class="answer">
    <?php call_user_func( $tab['callback'], $key, $tab ) ?>
    </div>

    </div>

    <?php endforeach; ?>
    </div>
    </div>

    <?php endif; ?>
  • Sorry but we do not offer this kind of customizations because after that we won't be able if something really bad will happen. All theme modifications are at your own risk.

    Thanks for understanding!
Sign In or Register to comment.