Home Forums Basel support forum Change button add to cart

Change button add to cart

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1604

    webberry
    Participant

    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

    #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

    #1627

    webberry
    Participant

    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.

    #1638

    Artem Temos
    Keymaster

    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.

Viewing 4 posts - 1 through 4 (of 4 total)