Sometimes you need to make a script usig the prestashop framework. To do that, just add these 2 lines at the top of your script
1 2 | include (dirname( __FILE__ ). '/../../config/config.inc.php' ); include_once (_PS_ROOT_DIR_. '/init.php' ); |
Sometimes you need to make a script usig the prestashop framework. To do that, just add these 2 lines at the top of your script
1 2 | include (dirname( __FILE__ ). '/../../config/config.inc.php' ); include_once (_PS_ROOT_DIR_. '/init.php' ); |