Change button add to cart
-
I need to put the button add to cart and quantity in the page product under titule and under price.
I want not where is now, under description
How can I to do it?
Thanks
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
Good morning
I have created basel-child with style.css and functions.php file.
I have copied it into functions.php file but it isn“t doing nothing.
What am I doing bad?
Also, I want to change the wishlist, quantity and stock button
Thank You very much.
First of all you need to update our theme to the latest version 1.6.2.
And you don’t need to create a child theme since we already did it for you. You can find child theme in the downloaded zip file. Install it, activate and add the code to the functions.php file.