1

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? – Khoa TruongDinh Jan 12 '17 at 1:06
  • Please be more specific. About which page you are talking about ? Which theme you are using ? – Rajeev K Tomy Jan 12 '17 at 5:21
  • Product page. I use Porto theme. – Andrei Andronache Jan 12 '17 at 7:30
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, privacy policy and cookie policy

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