venditdevs Posted May 1, 2014 Share Posted May 1, 2014 I want to override the ProductCore class so i wrote a new Product.php and i've put it in override/classes/ I've deleted the class_index.php cache file. This is what i get if i try to access the shop: Class 'ProductCore' not found in /override/classes/Product.php Example contents override/classes/Product.php:<?phpclass Product extends ProductCore { //CODE HERE }?> Link to comment Share on other sites More sharing options...
bellini13 Posted May 1, 2014 Share Posted May 1, 2014 either you do not have a valid Product class in the classes directory, or you do not have a valid ProductCore entry in the class_index.php file Link to comment Share on other sites More sharing options...
DD_DD2 Posted November 24, 2016 Share Posted November 24, 2016 It's late but could help someone. Check whether the original ProductController.php file is still in the /www/controllers/front directory. When you copy it to override directory, it might have been "cut". 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