Answer the question
In order to leave comments, you need to log in
How to make anchor links to tabs in Woocommerce?
Woocommerce has a product page - https://chestery.ru/product/grimernoe-zerkalo-100-...
The product has 2 tabs: Description (id="tab-description"> ) and Delivery (id="tab- woodmart_additional_tab").
How to insert anchor links to specific tabs in the product code (under the price)?
This doesn't work:
<a href="#tab-description">Рассчитать индивидуальный заказ</a>
<a href="#tab-woodmart_additional_tab">Доставка и оплата</a>
<a href="#tab-woodmart_additional_tab" onclick="$('a[href=#tab-woodmart_additional_tab]').woodmart_additional_tab_tab('show'); return false;">тест3</a>
Answer the question
In order to leave comments, you need to log in
Your tab works on the link
<a href="#tab-woodmart_additional_tab">Доставка и оплата</a>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question