WooCommerce Product Tabs not opening

Hello!

I’m having an issue on my site where the first WooCommerce product tab doesn’t automatically get the .x-active class and is hence hidden. Clicking any tab does seem to assign the class, yet the tabs remain hidden. I have tried several solutions (CSS rules, disabling caching, plugins, etc) but the issue persists.

This issue started occuring after updating to the new version of Pro and was tested in bot Firefox and Safari. Hopefully you can help me out!

Example: https://canardy.com/product/sweater-gray

Thanks!

I was too quick after all; the issue has been resolved. I had the following custom function set up:

// Remove query string from static files
function remove_cssjs_ver( $src ) {
 if( strpos( $src, '?ver=' ) )
 $src = remove_query_arg( 'ver', $src );
 return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );

For some reason this prevented the tabs from working.

Hi There,

Glad you were able to find the cause.

If you’re looking ways to optimize your site, you can refer to our performance guide on our knowledge base section (https://theme.co/apex/forum/t/customizations-performance/210).

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.