I want to override a .phtml file in following location, please guide me how to do that.



  • Are you trying to override the file through a module or a theme?
    – Barbanet
    May 22, 2016 at 16:17
  • @Barbanet I'm trying to override with a custom theme
    – nuwaus
    May 22, 2016 at 16:18

1 Answer 1


Create a file app/design/frontend/Your_Org/Your_Theme/theme.xml with the following content:

    <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">

Then copy the adjustment.phtml you'd like to override to app/design/frontend/Your_Org/Your_Theme/Magento_Tax/templates/pricing

Now just edit the adjustment.phtml there to get what you expected.

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.