Skip to content

reesmcivor/CakePHP-Magento-API-Plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

CakePHP Magento API Plugin

Requirements

CakePHP v2.x

How to use it

  1. Install this plugin for your CakePHP app.
    Assuming APP is the directory where your CakePHP app resides, it's usually app/ from the base of CakePHP.

    cd APP/Plugin
    git clone git://github.com/LubosRemplik/CakePHP-Magento-API-Plugin.git Magento
  2. Set up datasource, example is in Magento/Config/database.php.default (you need to get api user and key in magento admin panel).

  3. Include needed model in your controller or anywhere you want to

    $uses = array('Magento.CategoryProduct');
    ...
    $data = $this->CategoryProduct->listWithInfo();
    debug ($data);
    $data = ClassRegistry::init('Magento.CategoryProduct')->listWithInfo();
    debug ($data);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published