simar88 Posted March 25, 2015 Share Posted March 25, 2015 Hi guys,i would like to know how I can get products list grouped by category and use it in an external page.I'm thinking to build a sort of configurator using the products inside a shop that already exist, but i don't know if i have to write from scratch some mysql query or if is possibile to use something that already exist inside prestashop files (classes).The next step is to add selected items to a new cart for the checkout and for this i think to have found something online. Thanks in advance,Simone Link to comment Share on other sites More sharing options...
drunkenmyno Posted March 26, 2015 Share Posted March 26, 2015 You have to include in your php file define('_PS_ADMIN_DIR_', getcwd()); require(dirname(__FILE__).'/../../config/config.inc.php'); // From any folder in PrestaShop dir then you can use in your external page all functions that prestashop use 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