Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Switch positions of add to cart button and short description on single product
New Landing › How can we help? › Atelier › Switch positions of add to cart button and short description on single product
Tagged: add to cart, order, position, short description
- This topic has 22 replies, 8 voices, and was last updated 7 years by Kyle – SUPPORT.
-
Posted in: Atelier
-
September 30, 2015 at 2:32 pm #217571
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
October 1, 2015 at 3:15 pm #217867Hi
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
October 1, 2015 at 3:20 pm #217872do you have an eta for 1.80?
October 1, 2015 at 3:26 pm #217875I’m afraid I don’t, but my guess would be sometime next week
– Kyle
October 1, 2015 at 7:32 pm #217932we are looking forward to the next release
thx
October 2, 2015 at 8:12 am #217982No problem 🙂
October 19, 2015 at 2:13 pm #221596UP.
I’m waiting for this option too.October 19, 2015 at 3:46 pm #221641Hi,
Just confirmed with the development and it will approximately released at the end of this month.
-Rui
November 5, 2015 at 7:04 pm #226393Hi I want to change the order too.. What can I do? Where can I code?
November 5, 2015 at 7:05 pm #226394The release is ready?
November 6, 2015 at 9:27 am #226515Hi
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
November 10, 2015 at 2:49 pm #227478In 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!November 11, 2015 at 12:16 pm #227738Hi,
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
November 12, 2015 at 7:29 pm #228368HI, 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 );November 12, 2015 at 7:50 pm #228376Try 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=0Than 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
-
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.