Change the order of elements on product pages

This topic has 4 replies, 3 voices, and was last updated 10 years, 3 months ago ago by Robert Hall

  • Avatar: gotoddrun
    gotoddrun
    Participant
    August 20, 2014 at 19:42

    How do I change the order of information on product pages
    like price / add to cart / info / attribute selector / stock / etc.?

    Thanks!

    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 20, 2014 at 20:08

    Hello,

    If you have required skills you can edit legenda/woocommerce/content-single-product.php file. Also we recommend to create Child Theme and place your edited file there.

    Regards,
    Jack Richardson

    Avatar: gotoddrun
    gotoddrun
    Participant
    August 20, 2014 at 21:02

    Thanks Jack,
    Will adjusting the hooks not work with Legenda?
    /**
    * woocommerce_single_product_summary hook
    *
    * @hooked woocommerce_template_single_title – 5
    * @hooked woocommerce_template_single_price – 10
    * @hooked woocommerce_template_single_excerpt – 20
    * @hooked woocommerce_template_single_add_to_cart – 30
    * @hooked woocommerce_template_single_meta – 40
    * @hooked woocommerce_template_single_sharing – 50
    */
    do_action( ‘woocommerce_single_product_summary’ );

    Also, for creating a child theme, do I just create a folder called ‘legenda-child’ and copy the style.css and edited content-single-product.php into the legenda-child folder?

    Thanks so much for your help.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 21, 2014 at 06:34

    Hello,

    It be better if you contact to WooCommerce support team about this hooks.
    Also, for creating a child theme. So this will be enough. Don’t forget to properly configure style.css file.

    Regards,
    Robert Hall.

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

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

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