I have multi-website, multi-store magento appinstallation. eachEach store have different root category. I
I have created user [sub admin]admin users for each store and restricted access to their related store.
In each subadminadmin panel product grid iI have to display his product only. So
So I want to filter each product before display in grid, To do this i need the rootcategoryroot category id of current logged in subadmin store and each product rootcategory.admin. But
But whenever iI try to get current subadminadmin store root category, Valuethe value is zero. How can i solve this any suggestion, If my idea is good... Then
So the questions are:
- How can I get currently logged in subadminadmin store's rootcategoryroot category?
- How can I get each product rootcategoryroot category?
Thanks in Advance..