I am customizing the Magento2 Blank theme, by using a custom child theme. On the product page, I want the custom options and add to cart section to appear below the short description. All products will have custom options.
I have created the file:
app/design/frontend/Vendor/theme/Magento_Catalog/layout/catalog_product_view.xml
with the following content:
<?xml version="1.0"?>
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<move element="product.info" destination="product.info.price" after="product.price.final"/>
</body>
</page>
But it doesn't work. Where is my fault?
Best Answer
For some reason it seems the
product.info
block can't be moved (also see product.info block does not move in magento 2).My solution was to create a new container with the same content of the
product.info
block and then remove theproduct.info
block: