Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Thanks for the screenshot!

    To do this, you’ll need to modify the template for the single product page. Here’s a good way to get started:
    https://wordpress.stackexchange.com/questions/206655/woocommerce-change-display-order-of-product-short-description-and-price

    Thread Starter chidoleet

    (@chidoleet)

    Yea thanks, I found this link also but I cannot figure out how to change it, because the code doesn’t work. No changes on my website

    Will Brubaker

    (@willthewebmechanic)

    Automattic Happiness Engineer

    The code works, it just needs to be wrapped in a callback function hooked into woocommerce_loaded e.g.:

    
    add_action( 'woocommerce_loaded', 'move_elements' );
    
    function move_elements() {
    	remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
    	remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
    	add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 10 );
    	add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 20 );
    }
    
    Kenin

    (@kbassart)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce product page – tabs instead of short description’ is closed to new replies.