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

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -