Hello, I’m having issues with woocommerce single product page where the image gallery thumbnails appears under the tabs.
How can I fix this?
Hey Jorge,
Are you using any plugins to insert elements on the single product page, or did you make any modifications to the template? If so then please try to disable them to see if the problem goes away.
Best regards,
Rikard
Hi, I’m testing plugins to insert a video in the image gallery:
YITH WooCommerce Featured Audio and Video Content Premium and WooCommerce Featured Video. Both are disbled.
I added the following code to functions.php (child) in order to move woocommerce tabs under the thumbs:
add_action(‘init’, ‘avia_move_product_output’);
function avia_move_product_output() {
remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 10 );
remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 1 );
add_action( ‘woocommerce_product_thumbnails’, ‘woocommerce_output_product_data_tabs’, 5 );
}
If I remove it, the thumbs goes back to normal but tabs won’t be under it.
Any ideas on how to solve it?
Hi there, any news regarding this subject?
Please let me know.
Hi,
Thank you for the update.
Try to increase the priority number in this line from 5 to 20.
add_action( ‘woocommerce_product_thumbnails’, ‘woocommerce_output_product_data_tabs’, 5 );
Best regards,
Ismael
Awesome!
Thank you.
Please consider it as closed.