When i add new product to magento admin & select only sub category not the root category the product will not display in site.
When i go back & assign root category & sub category both it will display. I again go to admin & remove the root category so now product have only sub category as before. still it show on site.
The problem is that i am importing the products from .csv file, so it will only take sub category and the product added to admin but not show in front side.
The category structure is like: Default category (root category) - shoes (sub category) - cloths (sub category)
Thanks in advance.