Retrieving Product Attributes from Magento's V2 API

  // connect to soap server

    $client = new SoapClient('http://magentoinstall.local/api/v2_soap?wsdl=1');
    // log in
    $session = $client->login('user', 'pass');
    // product info
    $attributes = new stdclass();
    $attributes->attributes = array('product_title', 'description', 'short_description', 'price');
    $list = $client->catalogProductInfo($session, , NULL, $attributes);

0 Bình luận

Trở về
  • HTML5 Canvas
  • HTML5 Canvas

     The <canvas> element is used to draw graphics, on the fly, on a web page. Draw a red rectangle, a gradient rectangle,...