cancel
Showing results for 
Search instead for 
Did you mean: 

Get root category products returns everything!

Get root category products returns everything!

Hi guys,

 

ust trying to get the root category products and it returns every product in the store.

 

We have 3 Roots for 3 store fronts in 1 website. I have tried getting the product collection from the category resource and also getting the full product collection and appying the filter by category ID.

 

> On a side note, which would be faster? Category->Product collection or Product collection->filter category?

 

I have also tried to init with stores other than Admin(0)

 

Thanks for any help.

1 REPLY 1

Re: Get root category products returns everything!

Sorry, why was my post moved to "Installing" magento? This is obviously an issue regarding programming after install! (As it was when I first made this post).

 

Can a mod please move it back to the correct forum?