New Landing How can we help? Atelier Switch positions of add to cart button and short description on single product

Viewing 15 posts - 1 through 15 (of 23 total)
  • Posted in: Atelier
  • #217571
    pinponketo
    Member
    Post count: 36

    Hello SITeam,

    What would be the easiest way to switch positions of the “short description” and the “add to cart button” on the single product page?

    To be clear, I want to show the “add to cart” button before / above the short description next to the slider with the product image.

    Thanks in advance

    best

    pinponketo

    #217867
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    We are resolving the ordering issue with v1.80 – so that it uses the original action calls, which you will then be able to reorder.

    – Kyle

    #217872
    3969120a
    Member
    Post count: 159

    do you have an eta for 1.80?

    #217875
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’m afraid I don’t, but my guess would be sometime next week

    – Kyle

    #217932
    3969120a
    Member
    Post count: 159

    we are looking forward to the next release

    thx

    #217982
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem 🙂

    #221596
    romain
    Member
    Post count: 2

    UP.
    I’m waiting for this option too.

    #221641
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Just confirmed with the development and it will approximately released at the end of this month.

    -Rui

    #226393
    soywebadmins
    Member
    Post count: 25

    Hi I want to change the order too.. What can I do? Where can I code?

    #226394
    soywebadmins
    Member
    Post count: 25

    The release is ready?

    #226515
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Not yet, the developer has been at the Web Summit this week therefore the update has been pushed back a little. I will check with the the eta when he comes online

    – Kyle

    #227478
    soywebadmins
    Member
    Post count: 25

    In the meantime: Any other solution to move Variation Optiones, Add To Cart & WishList Button bellow price?
    Can I modify product-page template? Which part of the template? Thank you!

    #227738
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Have a look in Atelier/woocommerce/content-single-product.php

    Copy this file to your child theme keeping the same directory structure and apply your changes there.

    -Rui

    #228368
    soywebadmins
    Member
    Post count: 25

    HI, i try to change the add to cart below price with no look. Any Tip? this is not working in current version?

    I add this code to functions.php as woocommerce said.

    /** woocommerce: change position of add-to-cart on single product **/

    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’, 15 );

    #228376
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Try this way, copy the Atelier/woocommerce/content-single-product.php to your child theme keeping the same directory structure.

    Then add a new action hook where you will attach the pieces that were removed with the remove_action code.

    Something like this
    do_action( 'my_custom_single_product_summary');

    Check on this image line 158
    https://www.dropbox.com/s/0l1f5cwxesn47w4/Screenshot%202015-11-12%2018.49.56.png?dl=0

    Than change the code added in the functions.php to this one.

    
    /** woocommerce: change position of add-to-cart on single product **/
    
    remove_action( 'woocommerce_single_product_summary',
    'woocommerce_template_single_add_to_cart', 30 );
    
    add_action( 'my_custom_single_product_summary',
    'woocommerce_template_single_add_to_cart', 15 );
    

    Give it a try.

    -Rui

Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register