2

When we customize the core template files in Magento 2, how should we name the folder in the custom theme?.

For example, I want to customize the template file in \vendor\magento\module-advanced-search, how would I name the folder in the Custom theme?

1 Answer 1

0

It so easy, Suppose, you had modified below file:

vendor/magento/module-advanced-search/view/frontend/templates/search_data.phtml

Then you have to copy search_data.phtml to below location of your theme.

app/design/frontend/{ThemeVendorname}/{Themename}/Magento_AdvancedSearch/templates

Format like path

app/design/frontend/{ThemeVendorname}/{Themename}/{ModuleName}+ Path after vendor/magento/module-advanced-search/view/frontend

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.