Support » Plugin: WooCommerce » Should Gallery Thumbnail Appear If I’m Not Using Gallery Thumbnail Images?

  • Resolved Frank B.

    (@frankbiganski)


    I’m fairly new to WooCommerce, but is it normal for one thumbnail to be displayed on my product page even though I haven’t uploaded any gallery thumbnails?

    The image is the same image as my product image.

    I posted the question to the theme author as well, but still waiting on their reply.

    If it’s normal for one gallery image to be displayed, then is it possible to add some CSS or some code somewhere to hide this thumbnail?

    Cheers!

    Frank

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Igor H woo-hc

    (@ihereira)

    Hi there,

    That’s odd,

    You can hide the product gallery as explained here.

    If you do not want to manually modify your files you can use a plugin like Code Snippets to add custom PHP code into your site without directly accessing the functions.php file. Here is an article that explains how to use the Code Snippets plugin:

    https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/

    Thread Starter Frank B.

    (@frankbiganski)

    Thanks Igor. I came across that page and other similar pages regarding adding the “remove_action…” code to the functions.php file, but that didn’t work.

    The only other thing I noticed is that some other forums refer to adding only the single line of code: remove_action( ‘woocommerce_product_thumbnails’, ‘woocommerce_show_product_thumbnails’, 20 );

    I’m not coder so not sure but the fact that the code didn’t remove the thumbnail leads me to believe this thumbnail is appearing because of the theme and not WC?

    I was going to wait on hearing back from the theme author before trying the Code Snippets plugin, as I’ve read both pros and cons from other WC users regarding that plugin.

    Hi @frankbiganski

    I’m not coder so not sure but the fact that the code didn’t remove the thumbnail leads me to believe this thumbnail is appearing because of the theme and not WC?

    Can you temporarily switch your theme to Storefront to see if the thumbnail gets hidden? If it does, then it’s confirmed that this issue is theme specific – you’ll want to wait for the theme author to get back to you.

    Thread Starter Frank B.

    (@frankbiganski)

    Hi,

    The theme author rolled out an update which corrected my problem, of one gallery thumbnail image appearing when I had no thumbnails uploaded.

    Thanks for everyone’s replies and sorry for the troubles. All is good. 🙂

    Cheers!

    Frank

    Plugin Support Margaret S. woo-hc

    (@margaretwporg)

    Glad to hear that it’s all sorted out!

    I’m marking this thread as resolved. If you have further questions, feel free to create a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Should Gallery Thumbnail Appear If I’m Not Using Gallery Thumbnail Images?’ is closed to new replies.