This topic has 8 replies, 2 voices, and was last updated 9 years, 2 months ago ago by Jack Richardson
How do I Move Price above Add to Cart Button?
Thanks.
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.
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.
Hello,
Please specify what order of those elements you want to have.
Thank you.
Best regards,
Jack Richardson.
Ok, so what I want is:
Short Description
|
Variation (If Variable Product)
|
Quantity
|
PRICE
|
Add to Cart
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.
Appreciate your help, Jack, thanks!
Hello,
You’re welcome.
Best regards,
Jack Richardson.
Tagged: add to cart, button, move price, persuasive, themes, woocommerce, wordpress
The issue related to '‘Move Price above Add to Cart Button’' has been successfully resolved, and the topic is now closed for further responses