How to Remove the Ex Tax Price in OpenCart

This seems to be a common problem for many store owners. The solution is actually simpler than modifying the OpenCart templates.

Here's how you can hide the “Ex tax” price:

  1. Log on to the OpenCart Admin
  2. Go to System>Settings and click “Edit” for your store.
  3. On the “Option” tab make sure that “Display Prices With Tax” is set to “Yes”. You'll have to enter all prices in the OpenCart admin without tax. It will be added automatically by OpenCart.
  4. Then open the file catalog/view/theme/your_theme/stylesheet/stylesheet.css in a simple text editor like Notepad or TextEdit.
  5. Paste the following code at the end of the file:
    .price-tax {
    display: none!important;
    }
  6. Save the file and upload it back to catalog/view/theme/your_theme/stylesheet

Receive a curated list of the best OpenCart tips & tricks

Delivered in your inbox weekly for free.

More OpenCart Tutorials

Leave a Reply

Your email address will not be published. Required fields are marked *