cm_a93 Posted January 11, 2016 Share Posted January 11, 2016 Hi, I know my question is stupid but I need to solve this problem. I have a foreach loop that is showing products in a block. What I need to get is, the link to the sub categories (one by one in each iteration) of the parent category from that the product belongs to. I mean, for the first iteration of this foreach loop, I will get the link to first sub-category and for second iteration I will grab the link to second sub-category and so on. Can anybody tell me how I can do this? Thanks in Advance! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now