Single Product Page – Move items around

This topic has 2 replies, 2 voices, and was last updated 9 years ago ago by Brian Johnson

  • Avatar: CilantroDigital
    CilantroDigital
    Participant
    April 11, 2015 at 01:40

    I have been trying to move items around in the single product page but I cannot find a way.

    I want to move the price to below the product summary (excerpt). I have edited the hooks values and nothing. And I cannot find where to move the divs around.

    Any idea?

    1 Answer
    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 11, 2015 at 08:46

    Hello

    You may add following lines to the functions.php of the Child Theme:

    remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 10);
    remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_price', 10);
    add_action('woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 10);
    add_action('woocommerce_single_product_summary', 'woocommerce_template_single_price', 15);

    Child theme is already included in theme package.
    With best regards
    Brian Jhnson

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.