SOAP経由でMagento APIドキュメントを使用してみましたが、製品リストが出力されました。全体は次のようになります:( http://www.magentocommerce.com/api/soap/introduction.html )
<?php
//include the Magento API file - replace with your server path to the file
require_once('/absolut-dirl/app/Mage.php');
/***** Configuration ******/
$myAPILogin = 'login';
$myAPIKey = 'key';
// Begin SOAP Requests
$client = new SoapClient('https://shop-url.com/index.php/api/soap/?wsdl');
$session = $client->login($myAPILogin, $myAPIKey);
//get all my database products into an array
$products = $client->call($session, 'catalog_product.list');
echo "Starting product loop...<br/><br/>";
var_dump($products);
?>
ただし、結果として常に NULL を取得します。私は何を間違っていますか?迅速なヘルプについて、よろしくお願いします。
こんにちはローリー
// 下手な英語でごめんなさい。