I am trying to override
app/code/Mageants/SampleProduct/view/frontend/layout/catalog_product_view.xml in my theme. I copied it to
app/design/frontend/Smartwave/porto_child/Mageants_SampleProduct/layout/catalog_product_view.xml, made some changes, and redeployed and cleared the cache.
This is not working. I also tried with a template file which worked without any problems, only the XML is making trouble. Any ideas about what I am doing wrong?