Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 9199

Questions about product categories in the Magento catalog

0 votes
Accepted

Products from two categories

$catAId = 1; // category a's id $catBId = 4; // category d's id $productsInAandD = Mage::getModel("catalog/product") ->getCollection() ->addAttributeToSelect('*')// not optimal ->joinField …
Danny Dev Nz's user avatar
1 vote
Accepted

How to display categories in magento?

A category collection is a collection of category objects.Therefore the category collection has no name. … If you would like to get the first category from the category collection you can use the following method. …
Danny Dev Nz's user avatar
1 vote
Accepted

Displaying Categories sorting by custom attribute

First off you need the category collection. … $catCollection = Mage::getModel('catalog/category') ->getCollection(); Once you have the collection you then need to apply your filters $catCollection->addAttributeToFilter( …
Danny Dev Nz's user avatar