Closed Koc closed 6 years ago
Same. It appears Magicento 2 is indexing only module templates and not theme templates.
It will always looks/code hints in: module_dir/view/frontend/templates/path_to_templates
But never in: theme_dir/Namespace_Module/templates/path_to_templates
Btw, I've done the "Invalidate Caches/Restart" and "Refresh Magicento2 Indexes" countless times with no luck. Unless I'm missing something with registering a theme, this appears to be a relatively important missing feature.
This should be working with new release: v1.7.0. Please update.
Extend some standard layout in my custom theme and copy block template to it.
ctrl+click
Magento_Catalog::product/list.phtml
goes to original file - my overriden template not visible here, but Magento loads it correctly. If I writeproduct/list.phtml
- it propose multiple implementations. Not sure does multiple implementation make sense in overriden/extended layout in case that template also copied.