Questions tagged [template-override]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Changes made in web template do not show on frontend?

I am using Magento 2.2.3 and I am modifying a template from a custom extension. That path to the template is app/code/Foo/Osc/view/frontend/web/template/container/address/billing/create.html I am ...
1
vote
2answers
44 views

Magento 2 setTemplate and add content to phtml template

How to add bare HTML to a block e.g: $block = $result->getLayout()->getBlock('category.description'); $block->setTemplate('Vendor_Module::myTemplate/blank.phtml') ->toHtml('<p>My ...
0
votes
1answer
22 views

How can I override phtml and xml files overrided by custom theme Magento2.3

How can I override phtml, XML and CSS files that are overridden or created in custom theme.
0
votes
0answers
32 views

Overriding template not working in dev branch

I have overridden a file vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/address/edit.phtml and placed the replaced file in: app/design/frontend/ParentTheme/...
0
votes
1answer
38 views

Can't override phtml template, displays blank page

I have override vendor/magento/module-customer-custom-attributes/view/frontend/templates/customer/address/edit.phtml and placed the replaced file in: app/design/frontend/ParentTheme/childTheme/...
0
votes
1answer
24 views

cashondelivery.html Override template is not working

I put some code in below file. File path: vendor/magento/module-offline-payments/view/frontend/web/template/payment/cashondelivery.html It is working fine in this file. The same code put here, ...
0
votes
1answer
28 views

<arguments> approach not overriding the template file

I wanted to override vendor/magento/module-sales/view/adminhtml/templates/items/column/name.phtml template. And created new layout xml update as: File: app/code/MagePsycho/CustomInvoice/view/...
1
vote
2answers
35 views

Override template edit account didn't work on front end

I like to override magento/module-customer/view/frontend/templates/form/edit.phtml template, in my desktop it works but in our development server, i got this page , looks like there's inheritance ...
0
votes
0answers
102 views

How to override minicart html with custom phtml?

I override content.html using /app/design/frontend/Altius2/Jasani/Magento_Checkout/web/template/minicart/content.html When I change stuff in this it changes but I can't use PHP because it's an HTML ...
0
votes
2answers
57 views

Magento 2.3 How to overrride paid theme template?

I am working in magento 2.3.0 with paid theme. I want to override paid theme templates without changing theme files. So that in future if theme updates my functionality still remains. How can I do ...
1
vote
1answer
31 views

How to override or extend template and layout files for an extension downloaded by composer?

I have an extension that is downloaded through composer, there are two files i would like to update. How to I override/extend the files? what is the correct paths i need to create in app/design/...
0
votes
0answers
158 views

Magento 2.3.0 Overriding footer.phtml

I am trying to override Magento 2 footer.phtml, with my custom html footer, I have tried almost everything but still no success, I even tried the below: You can overwrite the existing templates by ...
2
votes
2answers
107 views

Extend tier_price.phtml in child theme of a custom theme Magento 2

From: /vendor/magento/module-configurable-product/view/base/templates/product/price/tier_price.phtml To: /app/design/frontend/Mgs/claue_child/Magento_Catalog/templates/product/tier_price....
0
votes
3answers
73 views

Magento 2.2 can't override default template

I am trying to override a default Magento html template, but no matter what I try, it won't work. Here are the two paths: Default Magento path: /project_folder/vendor/magento/module-ui/view/frontend/...
0
votes
2answers
34 views

Magento 2 : Custom template file is loading after refreshing the page only?

Here is my code for overriding vendor module template. when the page corresponding to this layout loads, it is fetching template file from vendor.after the refresh it is fetching from my custom module....
0
votes
3answers
212 views

Magento 2.3 customer form register template file override

I am working on Magento 2.3 version. I have create custom module for the override the register.phtml file but it is not working. I have provided some files details Kh/Registration/etc/module.xml &...