Question

In magento 2 how to override a advance search page and order return page in my custom theme

Was it helpful?

Solution

To Override advance search Copy

vendor/magento/module-catalog-search/view/frontend/templates/advanced/form.phtml

to your

app/design/frontend/Mytheme/Theme_name/Magento_CatalogSearch/templates/advanced/form.phtml

For Order return page Copy

vendor/magento/module-sales/view/frontend/templates/guest/form.phtml

to

app/design/frontend/Mytheme/Theme_name/Magento_Sales/templates/guest/form.phtml

For more details on how to override phtml files in Magento 2 you may refer this answer

OTHER TIPS

To Advance Search below file Copy and override in your custom theme:

vendor/magento/module-catalog-search/view/frontend/templates/advanced/form.phtml

Follow this path

app/design/frontend/[VendorName]/[theme]/Magento_CatalogSearch/templates/advanced/form.phtml

To Order Return Below file Copy and Overrirde

vendor/magento/module-sales/view/frontend/templates/guest/form.phtml

Follow this path

app/design/frontend/[VendorName]/[theme]/Magento_Sales/templates/guest/form.phtml

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top