I am trying to edit the view of the products page
in catalog_product_view.xml there are a lot of referenceBlock tags, how do I know which file it is referencing?
Hi@alecom2go,
what change do you want in xml file? if you are using custom theme then share xml file as well.
so I can tell your better?
you can get hint from referenceblock name:
example:
<referenceBlock name="page.main.title">
you can use move if you want to move any block. for reference, you can check following url:
vendor/magento/theme-frontend-luma/Magento_Catalog/layout/ catalog_product_view.xml
But make sure you should override the default xml file into theme, otherwise it will be replaced when you upgrade magento.
I hope it will help you!