Jump to content

Как поменять местами описание и побробнее о товаре v1.7


Recommended Posts

Нужно поменять блоки местами Подробнее о товаре - Описание

Точнее с этим то я справился, а вот чтобы поменяный блок открывался по умолчанию, не могу понять как сделать
Нужно чтобы Product Details открывался по умолчанию

 

Вот код
----------------------------------------------------------------

<div class="tabs">
                <ul class="nav nav-tabs" role="tablist">
      {if $product.description}
                  <li class="nav-item">
                    <a
                      class="nav-link{if !$product.description} active{/if}"
                      data-toggle="tab"
                      href="#product-details"
                      role="tab"
                      aria-controls="product-details"
                      {if !$product.description} aria-selected="true"{/if}>{l s='Product Details' d='Shop.Theme.Catalog'}</a>
                  </li>
      {/if}
                    <li class="nav-item">
                       <a
                         class="nav-link{if $product.description} active{/if}"
                         data-toggle="tab"
                         href="#description"
                         role="tab"
                         aria-controls="description"
                         {if $product.description} aria-selected="true"{/if}>{l s='Description' d='Shop.Theme.Catalog'}</a>
                    </li>

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
 Share

×
×
  • Create New...

Important Information

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