1

I tried,

 <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
       <move element="view.addto.wishlist" destination="product.info.media" />
 </page>

2 Answers 2

2

Changes:

<move element="view.addto.wishlist" destination="product.info.media" />

to

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

After that delete all file from var/cache and var/view_preprocessed and page_cache using rm -rf var/cacheand rm -rf var/view_preprocessed , rm -rf var/page_cache

Also flush the cache using php bin/magento cache:flush

1
  • hi @Amit sir,is it possible to move add to cart button after short description using move element in product list page Dec 29, 2018 at 8:09
1

Try this

<move element="product.info.addto" destination="product.info.options.wrapper.bottom" after="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.