Magento: Query Database for products with no assigned categories -
i'm new magento , i'm looking find way list of products in catalog not assigned categories. can offer how can achieved?
many thanks.
you can product collection using following code :
$product = mage::getmodel('catalog/product'); $productcollection = $product->getcollection() ->addattributetoselect('*'); foreach ( $productcollection $_product ) { echo $_product->getname().'<br/>'; }
but requirement can idea following links,may you. how product category information using collections in magento
Comments
Post a Comment