Hi @woce,
We do have a way of implementing this – check out this article: https://yikesplugins.com/support/knowledge-base/how-can-i-access-my-tabs-directly-via-url/.
That should work for you. Let me know.
Kevin.
Thread Starter
woce
(@woce)
Thanks for your replay. I added the code in the function.php
But if i try it, e.g. to open:
https://outgym.de/shop/moderne-sportparks/norwell-serie/norwell-13/norwell-air-walker-station/#downloads
it don´t jumps to the tab. 🙁
Do you have an idea, whats the problem?
Hi @woce,
Okay so your theme has a custom structure to the tabs.
Try replacing the line: $( 'a[href="#' + tab + '"]' ).parent( 'li' ).addClass( 'active' );
With this line: $( 'li.'+window.location.hash.replace( '#', '' ) + '_tab' ).addClass( 'active' );
Thread Starter
woce
(@woce)
I changed the code but nothing happened 🙁
Hi @woce,
When I step through the code in the debugger, I see it clicks the downloads tab correctly but afterwards it reverts to the Description tab. You’re the second person in a couple of weeks who has had this issue. I will investigate this tomorrow. Perhaps something has changed with the WooCommerce code.
Thread Starter
woce
(@woce)
Are there some news about the problem? Thank you.
Hi @woce,
Unfortunately there’s no good news. When I test the snippet out in my local environment I am able to successfully link to the tabs. This makes it hard to thoroughly test the issue. Sorry about that. I will get back to you if I do find anything.