How would I link module-page-cache into my theme? [closed]
-
23-02-2021 - |
Question
what would be correct spelling for the module?
Magento_Page-Cache
, Magento_Page-cache
, Magento_Page_Cache
?
Solution
Correct name should be: Magento_PageCache
if you want to override template(.phtml)
, theme file path will be:
app/design/frontend/{Package}/{theme}/Magento_PageCache/templates
For layout(.xml)
it should be:
app/design/frontend/{Package}/{theme}/Magento_PageCache/layout
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange