H
H
Hagriod2020-12-18 13:32:41
WordPress
Hagriod, 2020-12-18 13:32:41

How do I move the short description of a product?

How to move the short description of a variable product so that it is after the "add to cart" button?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Fink, 2020-12-18
@Hagriod

In the variable.php file, the variation data is output by the woocommerce_single_variation function via the woocommerce_single_variation hook, with a priority of 10. Next, a form is displayed with a button with a priority of 20. Just change the priority and the description will be displayed after the button.

remove_action('woocommerce_single_variation','woocommerce_single_variation',10);
add_action('woocommerce_single_variation','woocommerce_single_variation',30);

J
Jupiter Max, 2020-12-18
@vardoLP

How to change the layout of WooCommerce elements in WordPress?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question