PHP code example of haka002 / prestashop-webservice-lib
1. Go to this page and download the library: Download haka002/prestashop-webservice-lib library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
haka002 / prestashop-webservice-lib example snippets
// Here we define constants /!\ You need to replace this parameters
define('DEBUG', true); // Debug mode
define('PS_SHOP_PATH', 'http://www.myshop.com/'); // Root path of your PrestaShop store
define('PS_WS_AUTH_KEY', 'ZQ88PRJX5VWQHCWE4EE7SQ7HPNX00RAJ'); // Auth key (Get it in your Back Office)
s from children of customers markup "customer"
$resources = $xml->customers->children();
}