How to move sku in price block in product detail page and how to move title in magento 2
-
16-02-2021 - |
Solution
Keep below code inside xml file body tag in your xml file,
app/design/frontend/{Vendor}/{themename}/Magento_Catalog/layout/catalog_product_view.xml
<move element="product.info.stock.sku" destination="product.info.price" after="-"/>
for title
<move element="page.main.title" destination="product.info.main" before="product.info.review"/>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange