In Magento 2, the Blank theme displays the Details tabs below product images.
How to move this block to the product info column (right side of the page, under Add to cart button)?
blocksdesignmagento2producttheme
In Magento 2, the Blank theme displays the Details tabs below product images.
How to move this block to the product info column (right side of the page, under Add to cart button)?
Best Answer
We should take a look at:
vendor/magento/module-catalog/view/frontend/layout/catalog_product_view.xml
line 103 ~ 118All tabs are inside the
product.info.details
element and belong to groupdetailed_info
. The add-to-cart element belongs toproduct_options_wrapper_bottom
element. We need to rearrange these elements. To do this, add the extendingcatalog_product_view.xml
in theapp/design/frontend/{Vendor Theme}/{Theme Name}/Magento_Catalog/layout/
directory:Here is the result:
You can read more here: http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/xml-manage.html#layout_markup_rearrange