Home › Forums › Basel support forum › Change button add to cart › Reply To: Change button add to cart
June 28, 2016 at 3:59 pm
#1608
Artem Temos
Keymaster
Hello there,
Thank you for being with us.
Unfortunately there is no option to sort elements on the product page in our theme. The only way to do this is to change their hooks priority. To do this you need to install child theme and add the following code snippet into your child theme functions.php file
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 18 );
Regards