I'm currently developing a Magento 2.0 theme. I'm trying to change the behaviour of the Tax class on the frontend. The file I need to change is located in app/Code/Magento/Tax/view/base/templates/pricing/adjustment.phtml.

How can I override this view from my Magento theme?


4 Answers 4


Create file with name app/design/frontend/[VendorName]/[theme]/Magento_Tax/pricing/adjustment.phtml.

base folder it's default fallbacks for all arias and used to share resources across of areas

  • Not working please help me. Commented Oct 25, 2018 at 4:38
  • Not Work it try copy from base folder and put as above Commented Feb 27, 2019 at 13:16
  • This does not work in Magento 2
    – feeela
    Commented Nov 19, 2019 at 16:09
  • This do not work for Magento 2, use this insted for: vendor/magento/module-catalog/view/base/templates/product/price/default.phtml do: app/design/frontend/[VendorName]/[theme]/Magento_Catalog/templates/product/price/default.phtml Commented Dec 2, 2022 at 9:26

Copy the adjustment.phtml file from base template and put it inside app/design/frontend/[VendorName]/[theme]/Magento_Tax/pricing/adjustment.phtml

For more information, you can get help from here


correct and if you need to change admin view base file for example:


NOTE: this file is responsible for any grid in admin

you will have to create new admin theme and put template file in Magento_Ui folder inside new admin theme so that admin will call template from your theme location for example:


NOTE: I am putting this answer because i had one similar issue in admin side and i have posted question in magento stackexchange and i got solved it after long efforts so someone can get help from this answer.please check my question for more:

How can I add new Class in Magento2 sales grid?

  • 1
    You are so kind Bhargav Shastri Commented Apr 11, 2021 at 12:18

Then after don't forget to run this bellow command.

php bin/magento setup:upgrade

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.