M
M
Max Developer2017-09-30 15:09:46
PHP
Max Developer, 2017-09-30 15:09:46

How will the output data be swapped in the store on woocomerce?

How in the store on woocomerce in the product card will change places, for example, the price and a short description, so that when you update everything does not fly off?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2017-10-01
@Palych_tw

Hooks in functions.php. You delete action'y, and then you will add, but already with other priorities.

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

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

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question