Moving Add to Cart above product description

This topic has 4 replies, 2 voices, and was last updated 6 years, 7 months ago ago by Rose Tyler

  • Avatar: omthreetimes
    omthreetimes
    Participant
    April 1, 2018 at 11:00

    Hey!

    I tried moving Add To Cart button above product description like this. https://prnt.sc/iq3scy

    I was able to do this, but the button goes above the price. The price needs to be higher than button, how to do this?

    Thank you

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 2, 2018 at 09:47

    Hello,

    Please remove the code http://prntscr.com/izmdnt (legenda-child/woocommerce/content-single-product.php)
    add this in functions.php file of child theme
    add_action('woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 15);
    https://prnt.sc/izmemv

    Regards

    Avatar: omthreetimes
    omthreetimes
    Participant
    April 2, 2018 at 13:02

    I worked perfectly. Cant tell how much I appreciate it!
    Thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 2, 2018 at 13:03

    You’re welcome 🙂

    Regards

  • 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.