1

How to move SKU in price block in product detail page in Magento 2

screenshot

enter image description here

i was tried with below code

 <move element="product.info.sku" destination="product.price.tier" after="-"/>

and
How to move title in product detail page alone enter image description here

3

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"/>
| improve this answer | |
  • Its working @rakesh – divya sekar Jan 30 '19 at 11:10
  • Please change before to after or accept my edited code – divya sekar Jan 30 '19 at 11:12
  • how to move a product title @rakesh plz refer a edited question – divya sekar Jan 30 '19 at 11:51
  • check my answer @divyasekar – Rakesh Donga Jan 30 '19 at 11:58
  • 1
    above code working ?@divyasekar – Rakesh Donga Jan 30 '19 at 12:32

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.