Is there anyway, to fetch product catalog in JSON format from my OpenCart store, from a phonegap mobile application using Ajax, JavaScript/jQuery. Does OpenCart allow for su
In catalog/controller/product/catalog.php before
$this->response->setOutput($this->render());
paste this code
if (isset( $this->request->get['json'])) $this->response->setOutput(json_encode($this->data)); else
and go link http://opencart.examle/index.php?route=product/category&path=20&json