IgnacioSM Posted February 4, 2015 Share Posted February 4, 2015 Hello, I am trying to use Prestashop classes but I only receive an error "this class doesn't exist". I have a file called server.php which takes some data and tries to put in on Prestashop database, but I will prefer to put it with prestashop classes, because it is a better method. I have my file "server.php" in "httdocs/Webserver/server.php" and a folder called "prueba_prestashop" with all the classes and controllers,... in "httdocs/prueba_prestashop/". What files should I include in my program to use Prestashop classes? For example, I can use _DB_PREFIX_ and the others using : require_once ('../prueba_prestashop/config/settings.inc.php'); But I would like to use Product.php, Categories.php and some of the others. Thanks for help 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