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.

Editing WooCommerce Single Product Page

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

Hello SiteOrigin team,
we hope you guys are doing great! We come to you again so that you guys can point us in the right direction with the following:
We ar trying to edit the woocommerce single product page so it displays the product elements in the following order:
Short Description
Button
Information Tabs
Meta Information (category, tags)
This is How it looks right now: http://i.stack.imgur.com/c3Bsh.png
This is how we want it to look: http://i.stack.imgur.com/KGRQ7.jpg
We tried adding the following code to the child functions.php but it did not work:
This one puts the description tabs on top of everything:

remove_action( 'woocommerce_after_single_product_summary','woocommerce_output_product_data_tabs', 10 );
    add_action( 'woocommerce_before_single_product_summary','woocommerce_output_product_data_tabs', 30 );

Could somebody please help us make this work, we don’t really know a lot of php but already signed up to code academy :)
We are running Vantage (up to date) with Woocommerce Version 4.3.1 on WordPress Version 2.4.7
Thanks again!
J.

URL: http://www.spacefood.com.mx

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

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Andrew Misplon Staff 10 years, 4 months ago

    Hi Jose

    I, unfortunately, haven’t dived into this area of WooCommerce much. You’re on the right track. You need to remove actions and then add them back using the new action hook of your choice.

    Here is a new theme we have on the way:

    https://themes.svn.wordpress.org/siteorigin-north/1.0/

    You can check out a few example positioning in this file:
    https://themes.svn.wordpress.org/siteorigin-north/1.0/woocommerce/functions.php

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