0

I want to extend the customer account creation template (register.phtml) of the Luma theme. I copied the register.phtml to my custom theme directory:

\app\design\frontend\my\theme\module-customer\view\frontend\templates\

and modified it. After flushing the cache and refreshing the browser I can't see my changes.

What is wrong?

Is it always necessary to copy the template in a custom theme folder or is it also possible to copy it to the view folder of my custom module?

Thanks.

Marco

  • app\design\frontend\vendor\theme_name\Magento_Customer\templates – Mage Solution Dec 23 '15 at 10:17
  • Try deleting the cache manually from var/cache and delete all folders, it might help. – Fayyaz Khattak Dec 23 '15 at 10:32
1

Solution: I tried the hints, but they didn't solve the problem. After searching for a while I figured out the following path which is working:

app/design/frontend/my/theme/Magento_Customer/templates/form

0

your current path of template file is worng

\app\design\frontend\my\theme\module-customer\view\frontend\templates\

the correct path will be

\app\design\frontend\my\theme\module-customer\templates\
  • I changed the path, but there is no effect! – ClassMP Dec 23 '15 at 10:07
  • disabled the cache then check – Qaisar Satti Dec 23 '15 at 10:11

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.