This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Move Product Tabs directly under Product Images on Single Product WooCommerce Page

7 years ago · Last reply by Andrew Misplon 7 years ago

Hi Guys,

I am having a bit of issue I hope you can help with. I am trying to move tabs directly under the images section on the single product page I use this code:

remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 );
add_action( 'woocommerce_product_thumbnails', 'woocommerce_output_product_data_tabs', 10 );

This is what happens:
1. If I have only one image, just my main image no other product thumbnails it shows fine.
2. If I have more than one image so thumbnails are there the tabs doesn’t show.

So the code allows for one or the other instead of both.

If you can help I would be grateful. I am using the Vantage theme.

Thanks in advance.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 7 years, 4 months ago

    Hi Stephen

    Thanks for reaching out. Hopefully, you’ve made progress since posting. If not, aren’t the tabs already under the product images? Here is what I see in my local Vantage install: https://imgur.com/a/bqPDbON

  2. Stephen Baring-Jones 7 years, 4 months ago

    Thanks for responding Andrew. I got it sorted. The hook was not working.

  3. Andrew Misplon Staff 7 years, 4 months ago

    Super, glad to hear you’ve made progress. All the best.

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread