Skip to content

Yameveo/Yameveo_ProductInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yameveo ProductInfo Extension

Simple Magento SOAP API Extension to catalogProductInfo Facts

  • version: 1.0.0
  • extension key: Yameveo_ProductInfo
  • Magento Connect 1.0 extension key: Not yet on Magento Connect
  • Magento Connect 2.0 extension key: Not yet on Magento Connect
  • extension on GitHub

Description

This Magento extensions add some features to catalogProductInfo SOAP API call for V1 and V2. Get all product's attributes, including stock info and images. Get configurable's subproducts informations in the same response.

Usage

SOAP API V1

// connect to soap server
$client = new SoapClient('http://store.dev/api/soap?wsdl=1',  array('cache_wsdl' => WSDL_CACHE_NONE, 'trace' => 1));

// log in
$session = $client->login('user', 'apikey');

$product = $client->call($session, 'catalog_product.info', array(126, null, array('*')));

SOAP API V2

// connect to soap server
$client = new SoapClient('http://store.dev/api/v2_soap?wsdl=1',  array('cache_wsdl' => WSDL_CACHE_NONE, 'trace' => 1));

// log in
$session = $client->login('user', 'apikey');

$attributes = new stdclass();
$attributes->attributes = array('*');
$product = $client->catalogProductInfo($session, 126, null, $attributes);

Requirements

  • PHP >= 5.2.0
  • Mage_Core
  • Mage_Api

Compatibility

  • Magento >= 1.6

Installation Instructions

  1. Install modman
  2. cd /var/www/store # Magento is installed here
  3. modman init # This is only done once in the application root
  4. modman clone git@github.com:Yameveo/Yameveo_ProductInfo.git

The module will also be published on composer firegento repository.

Uninstallation

  1. Remove all extension files from your Magento installation

Support

If you have any issues with this extension, open an issue on GitHub.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Andrea De Pirro @akira28

http://www.yameveo.com

Licence

OSL - Open Software Licence 3.0

About

Simple Magento SOAP API Extension for catalogProductInfo

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages