How to move the buy now button below the price

This topic has 8 replies, 3 voices, and was last updated 3 years ago ago by Rose Tyler

  • Avatar: aurangzebaa
    aurangzebaa
    Participant
    December 8, 2021 at 21:10

    i want to place the buy button below the price and the description should be below the buy button.
    basically swap between the description and the buy button
    pls tell how thank you

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 9, 2021 at 10:19

    Hello,

    Sorry, but there is no such possibility.
    Additional customization in files is outside the scope of our support.
    If you need help with the additional customization, submit a customization request to WPKraken team

    Regards

    Avatar: aurangzebaa
    aurangzebaa
    Participant
    December 9, 2021 at 10:22

    kindly please help to solve just this particular issue. Just need to swap the places.
    I am asking this as a one-time favor.
    Please consider my request thank you.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 9, 2021 at 13:48

    Hello,

    Use WooCommerce hooks https://www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/ in child theme functions.php to change the order, for example

    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
    add_action ('woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 15 );

    Regards

    Avatar: aurangzebaa
    aurangzebaa
    Participant
    December 9, 2021 at 21:42

    can you please provide me with the complete code?
    Requesting as a one time favor
    thank you

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 10, 2021 at 18:16

    Hello,

    What is not suitable for you in the code I provided? Did you try to use that?

    Regards

    Avatar: aurangzebaa
    aurangzebaa
    Participant
    December 11, 2021 at 18:32

    just applied your given code and its working.
    thank you so much for your kind gesture!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 12, 2021 at 08:35

    Hello,

    You’re welcome!

    Regards

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

The issue related to '‘how to move the buy now button below the price’' has been successfully resolved, and the topic is now closed for further responses

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