Accessing LemonStand API from third-party scripts
You can access LemonStand API from any PHP script by adding the following code to the script. The path in the include call should point to the index.php script in the LemonStand root directory.
$Phpr_InitOnly = true; include 'index.php';
This approach is not needed if you extend LemonStand with new modules.
Next: Extending the Discount Engine
Previous: LemonStand module templates
Return to Extending LemonStand

