Post by gokaydemir86 » Tue Oct 31, 2017 5:15 am

Hi. I need to fetch tax rate of a product. I made some changes on \admin\controller\catalog\product.php And I must use tax rate of the product for my calculations. However, could not find any function to do that. And I cant call it from database. Because there exists only tax_class_id for a product. And I could not use getTaxrate function. It gives the error :

Fatal error: Call to a member function getRateName() on a non-object in C:\localhost\www\mywebsite\system\modification\admin\controller\catalog\product.php on line 1244

Any solutions would be appriciated.
NOTE : I need to get tax rate from ADMIN side.. I use o.c



Tue Jul 18, 2017 8:08 am

Post by straightlight » Tue Nov 14, 2017 4:22 am

What is line or block of code you used in order to capture the tax rate name?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 10 guests