Pergunta

First I am new to magento development and theme integration. As reading forum on the magento theme, created custom theme folder structure with listed file as below....

Magento\app\design\frontend\drEcom\tQCustometheme
  • composer.json
  • registration.php
  • theme.xml
  • /media
  • /web

But can't got which and where the phtml files are located, so i can overwrite it???

Can someone please help/guide on this?

Foi útil?

Solução

You can use Magento\app\design\frontend\drEcom\tQCustometheme\{Default_Module}\templates\{yourovrride.phtml}.

let's say you have to override

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

file in your theme then your details.phtml file path should be like:

app\design\frontend\drEcom\tQCustometheme\Magento_Catalog\templates\product\view\details.phtml

Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange
scroll top