Can somebody help me to move add to cart button to right side bar in Magento 2.1.3 CE?

I succeed to move add to wish list and social icons by adding this code in catalog_product_view.xml , but no success with add to cart.

Thank You.

<move element="product.info.social" destination="sidebar.additional" before="-"/>
  • You can take the screen shot? Jan 12, 2017 at 1:06
  • Please be more specific. About which page you are talking about ? Which theme you are using ? Jan 12, 2017 at 5:21
  • Product page. I use Porto theme. Jan 12, 2017 at 7:30

1 Answer 1


Try if this work:

<move element="product.info.addtocart" destination="sidebar.additional">

Both the Qty input and Add to Cart button are on the same block of product.info.addtocart.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.