-
AuthorPosts
-
May 11, 2020 at 9:44 pm #1211906
Hello, I’m having issues with woocommerce single product page where the image gallery thumbnails appears under the tabs.
How can I fix this?May 12, 2020 at 11:05 am #1212082Hey 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,
RikardMay 12, 2020 at 3:37 pm #1212202Hi, 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?
May 14, 2020 at 6:06 pm #1212993Hi there, any news regarding this subject?
Please let me know.May 15, 2020 at 1:55 pm #1213286Hi,
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,
IsmaelMay 15, 2020 at 5:28 pm #1213341Awesome!
Thank you.
Please consider it as closed.May 17, 2020 at 4:44 am #1213732 -
AuthorPosts
- The topic ‘Image gallery thumbnails position’ is closed to new replies.
