1

I have magento 2.0 C.E. And I want to override a few core template files. But, I do not have anything inside app/design/frontend/magento/ and my luma theme is installed somewhere in the vendor/ directory. I have not created any custom theme also. Please, let me know how this can be achieved.

1

I can give you a basic example.

Assume, if you want to override customer log-in form.

The original file path is from core.

\vendor\magento\module-customer\view\frontend\templates\form\login.phtml

Assume you need to do some customization. then copy the files to your theme, in this example take LUMA theme.

\vendor\magento\theme-frontend-luma\Magento_Customer\templates\form\login.phtml

Then do necessary changes.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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