The best way to access and manipulate data in Magento is by using the provided objects and their associated functionality. If you really need to deal with raw queries you can do that too.
Magento Development
Stand alone Magento scripts
December 29th, 2009
Comments Off on Stand alone Magento scripts
Before running any stand alone scripts that use core Magento objects and functionality, you need to make sure Magento is properly initialised. Add this snippet to the top of your script, updating the path according to your installation.
Before running any stand alone scripts that use core Magento objects and functionality, you need to make sure Magento is properly initialised. Add this snippet to the top of your script, updating the path according to your installation.