What I'm trying to do is gain access to all of my product and category information in a particular store from a custom PHP script in Magento. I have already included Mage.php, and can access the store info, but I'm not sure how to proceed from here
<?php
include '../../../../app/Mage.php';
$allStores = Mage::app()->getStore(6);
var_dump($allStores);
?>
This gives me access to the store information, but if i try to call ->getProduct() it throws an error