Question

I found how add my custom attribute "dispname" on the product page but I would like to put it above the attribute "name". Can you help me?

catalog_product_view.xml :

enter image description here

Product page : enter image description here

Was it helpful?

Solution

add below code in your xml file

<move element="product.info.dispname" destination="product.info.main" before="-"/>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top