Move Price above Add to Cart Button - by levytskiy

This topic has 8 replies, 2 voices, and was last updated 9 years, 3 months ago ago by Jack Richardson

  • Avatar: levytskiy
    levytskiy
    Participant
    September 19, 2015 at 20:22

    How do I Move Price above Add to Cart Button?
    Thanks.

    7 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 21, 2015 at 09:55

    Hello,

    Do you want to make changes on single product page?
    Try to follow the instruction on this page:
    http://www.alphablossom.com/move-woocommerce-price-on-single-product-page/

    Best regards,
    Jack Richardson.

    Avatar: levytskiy
    levytskiy
    Participant
    September 21, 2015 at 10:23

    Yes, on Single Product Page, instructions helped, but problem is that I have a Product Short Description, thus after inserting hooks in functions.php I have Price then Short Description then Quantity then Add to Cart.

    Maybe I can manually edit PHP code which is responsible for Product Page and I can manage code by my own? What do you think will be the best option in this case?

    Appreciate your help.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 21, 2015 at 14:58

    Hello,

    Please specify what order of those elements you want to have.

    Thank you.

    Best regards,
    Jack Richardson.

    Avatar: levytskiy
    levytskiy
    Participant
    September 21, 2015 at 15:04

    Ok, so what I want is:
    Short Description
    |
    Variation (If Variable Product)
    |
    Quantity
    |
    PRICE
    |
    Add to Cart

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 21, 2015 at 15:47

    Hello,

    I’ve added this code in custom.css file:

    .quick-view-popup .product-info .short-description, .single-product-page .product-info .short-description {
        float: none;
    }

    and this one in functions.php:

    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
    add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 20 );

    Please check.

    Best regards,
    Jack Richardson.

    Avatar: levytskiy
    levytskiy
    Participant
    September 21, 2015 at 16:07

    Appreciate your help, Jack, thanks!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 21, 2015 at 17:58

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

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

The issue related to '‘Move Price above Add to Cart Button’' 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.