Change Size Guide Position in Product Page
Change "Size Guide" position to under Add To Cart on product page
Default:
Custom:

Edit child-theme

function.php

1
// Change size guide position
2
add_action('init', 'wooler_init', 30);
3
function wooler_init(){
4
if(class_exists('Wooler_Size_Guide_Frontend')){
5
remove_action('woocommerce_before_add_to_cart_group', array(Wooler_Size_Guide_Frontend::get_inst(), '_size_guide_button_after_add_to_cart'), 10);
6
add_action('woocommerce_after_add_to_cart_group', array(Wooler_Size_Guide_Frontend::get_inst(), '_size_guide_button_after_add_to_cart'), 50);
7
}
8
}
Copied!