This topic has 4 replies, 3 voices, and was last updated 10 years, 3 months ago ago by Robert Hall
How do I change the order of information on product pages
like price / add to cart / info / attribute selector / stock / etc.?
Thanks!
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
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.
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.
You must be logged in to reply to this topic.Log in/Sign up