Magento 2 custom theme Integration
-
05-10-2020 - |
Frage
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?
Lösung
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
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange