Depending on your theme, just creating an href link anchor to a product tab might or might not work i.e. it might not scroll to it as it’s currently closed.
Here comes a way to create href links that not only scroll to the tab, but also open it in case it’s closed (this will guarantee the anchor scroll to the tab). Also, a little jQuery “animate” will provide the smooth scroll and enhance UX. Hope you enjoy!
Create links to smooth scroll to any WooCommerce Product Tab
PHP Snippet: Create Custom Links to Scroll To Product Tabs @ Single Product Page
/**
* @snippet Scroll to tab - WooCommerce Single Product
* @how-to Get tutoraspire.com FREE
* @author Tutor Aspire
* @compatible WooCommerce 3.5.7
* @donate $9 https://tutoraspire.com
*/
add_action( 'woocommerce_single_product_summary', 'tutoraspire_scroll_to_and_open_product_tab', 21 );
function tutoraspire_scroll_to_and_open_product_tab() {
global $post, $product;
// LINK TO SCROLL TO DESC TAB
if ( $post->post_content ) {
echo '