I am a new member and is weak in programer. I want display Sale price before Regular price (as images attach). I determined the hook here is woocommerce_before_variations_form. Here is the code to edit in the hook.
// define the woocommerce_before_variations_form callback
function action_woocommerce_before_variations_form () {
// make action magic happen here ...
};
// add the action
add_action ('woocommerce_before_variations_form', 'action_woocommerce_before_variations_form', 10, 0);
Can you help me display Sale price before Regular price?