0

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

1

add below code in your xml file

<move element="product.info.dispname" destination="product.info.main" before="-"/>

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.