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 2.0.3.1

Newbie

Posts

Joined
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.

Regards,
Straightlight


Guru Member
Online

Posts

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

Users browsing this forum: CSR, mausz85, paulfeakins, Yahoo [Bot] and 63 guests