1

I am trying to create new custom theme in magento I have followed the official document and did all the changes, I can see my custom theme in admin section too.

Now I need to make some adjustment in header/footer files but not able to find a proper way to do.

I have replaced all the folder on my theme such as below

app\design\frontend\flow\fa\magento\module-catalog\view\frontend\templates\product\view

and tried below also

app\design\frontend\flow\fa\module-catalog\view\frontend\templates\product\view

I am not sure which one is the right but in above all cases still the files are coming from

vendor/magento/module-catalog/view/frontend/templates/product/view/details.phtml

How can I make to come these files from my folder? I need to override templates to suit my design.

Any view what I am doing wrong? did anyone created any new custom theme and it's working properly?

1
  • This is not a duplicate question, as I have seen some question with same heading, but didnt found all of them exactly giving the solution.
    – Jack
    Jan 20, 2016 at 7:02

1 Answer 1

1

you overrid the phtml file in your theme. your template path must be follow

app\design\frontend\flow\fa\module-catalog\templates\product\view

7
  • but its still not showing in template path hints, and to confirm I added some text in same file but it is also not showing results. I have cleared the cache as well..
    – Jack
    Jan 20, 2016 at 7:09
  • you have delete pub/static and deploy the content. you have to check there is in pub/static/frontend/flow/fa/module-catalog\templates\product\view\details.phtml file is created? Jan 20, 2016 at 7:11
  • Nothing happened, still the same path showing, though admin and page style is gone now.
    – Jack
    Jan 20, 2016 at 7:17
  • after deploy give 777 permission to files and folder Jan 20, 2016 at 7:18
  • checking on local system :(
    – Jack
    Jan 20, 2016 at 7:19

Your Answer

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

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