cm_a93 Posted January 11, 2016 Share Posted January 11, 2016 Hi, I am new to PrestaShop. I am trying to get an array of sub-categories using parent category id, so I can refer to the different sub-category in different circumstances. Actually, I want to place an if statement in a foreach loop and check if its the first iteration of the loop then grab the link of 1st sub-category enlisted and if it's 2nd iteration then grab the link of 2nd sub-category and so on. Can anybody help me? Thanks in advance! and sorry for my bad English. 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