Move (woocommerce_before_variations_form) above (woocommerce_single_product_sum)
-
I am trying to move Product Variations, which I believe are in ‘woocommerce_before_variations_form’, on Single Product Page to above the Product Title, Price, and everything else in the ‘woocommerce_single_product_summary’. See Image.
The code I have tried is:
function move_variations(){ ?> </div> <div class="summary entry-summary"> <?php } add_action('woocommerce_before_variations_form', 'move_variations', 1);
Placed at the bottom of my child theme’s function.php file.
It is moving the Variations and everything below them (buy buttons, description) to below the main product image.
Anyone know what I need to fix?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Move (woocommerce_before_variations_form) above (woocommerce_single_product_sum)’ is closed to new replies.