dionov Posted January 17, 2018 Share Posted January 17, 2018 how to create module?i have some app and i want integration my app to prestashop Link to comment Share on other sites More sharing options...
Rhobur Posted January 17, 2018 Share Posted January 17, 2018 That is funny...; like going to Mercedes and asking how to build a car :-) Anyway, depending on your PS version, you check the official docs here Official Documentation Link to comment Share on other sites More sharing options...
juan.diegomdc Posted January 17, 2018 Share Posted January 17, 2018 Yo can go to validator.prestashop.com and generate a module folder to install and modify. But if you need add access to prestashop vars from a external script you need to do is <?php define('_PS_ADMIN_DIR_', getcwd()); include(_PS_ADMIN_DIR_.'/../config/config.inc.php'); if (Context::getContext()->employee->isLoggedBack()) { /* Your code here, user is logged */ } ?> and then you can use sessions by employees... There you can see examples Link to comment Share on other sites More sharing options...
diot Posted January 17, 2018 Share Posted January 17, 2018 5 hours ago, Rho_Bur said: That is funny...; like going to Mercedes and asking how to build a car :-) Anyway, depending on your PS version, you check the official docs here Official Documentation i want integerate my app in to prestashop dude, i am newbie hehe Link to comment Share on other sites More sharing options...
Rhobur Posted January 20, 2018 Share Posted January 20, 2018 It was just a friendly pun :-) But, really, do check the official docs, they teach you how to create a module. 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