I have made a theme that is a child to a customized theme that is a child of Luma.
My theme lives in:
app/design/frontend/{mycompany}/{mythemename}/
My themes parent lives in:
vendor/{vendorcompany}/{vendorthemedirectory}/
The parent is overriding:
Magento_Catalog/templates/product/view/gallery.phtml
among other files, like so:
vendor/{vendorcompany}/{vendorthemedirectory}/Magento_Catalog/templates/product/view/gallery.phtml
I want to override this override but I can't seem get the directory structure of my child theme right or maybe I'm missing something else.
My first thought is to create it like so:
app/design/frontend/{mycompany}/{mythemename}/{vendorcompany}_{vendorthemedirectory}/Magento_Catalog/templates/product/view/gallery.phtml
But that doesn't seem to work. gallery.phtml is still loading from the parent. I've tried a few combinations of directory structure without luck. How do I override the override?