Jump to content

How To Get Top Level Categories With Codeigniter Or Core Php


Recommended Posts

Hello every one,,

      I am Developing Web services for APPLE app. Shop is developed in Prestashop i found the webservices provided by the prestashop but its different which i need....

I basically need to get the top level categories in ne call and then get the category id and retirn the sub categories belongs to that category... i could not find any column which tells its main category my query always return all categories...

 

Here is an example 

 

Main Categories

 

http://imgur.com/m0q2G4j

 

Sub categories

 

http://imgur.com/ahTuBj9

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...