Published by admin at June 3, 2015 <?php error_reporting(E_ALL); ini_set(‘display_errors’, ‘1’); // Load Up Magento Core define(‘MAGENTO’, realpath(”)); require_once(MAGENTO . ‘/app/Mage.php’); $app = Mage::app(); $categories = Mage::getModel(‘catalog/category’) ->getCollection() ->addAttributeToSelect(‘*’) ->addAttributeToFilter(‘is_anchor’, 0) ->addAttributeToFilter(‘entity_id’, array(“gt” […]