title: Woocommerce open single product tab on button click
body: <p>On my single product page I have button where I want to open default product tab named &quot;description&quot; on click on specific button with <code>id=&quot;cely-popis&quot;</code>. This should perform only when another tab is active than &quot;decription&quot;.</p>
  <pre><code>$(&quot;#cely-popis&quot;).click(function() {
      $('html, body').animate({
          scrollTop: $(&quot;#tab-description&quot;).offset().top - 64
      }, 2000);
  
      $('.nav-link[href=tab-description]').trigger('click');
  });
  </code></pre>