ukbaz Posted February 5, 2010 Share Posted February 5, 2010 Hi am getting following error in server error logs:Undefined variable: $tax in /var/www/vhosts/xxxxxxxxx.co.uk/httpdocs/classes/Product.php on line 1247.Line 2247 is :$attribute_price = $usetax ? $result[‘attribute_price’] : ($result[‘attribute_price’] / (1 + (($tax ? $tax : $result[‘rate’]) / 100)));Any ideas why this is – have moved tax code to the bottom as in example above? Have attached Product.php classThanksBaz Product.php Link to comment Share on other sites More sharing options...
ukbaz Posted February 12, 2010 Author Share Posted February 12, 2010 Can no-one help with this? thanksBaz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now