I can get this to find one product by using product code "*012010061" Without the quotes.
How can I get this to go through our entire system and retrieve all products. I have tried creating loops etc but have had no success.
<?
require_once 'lib/ourservice.php';
$user = new ourservice();
$result = $user->GetProductListByCode("*012010061","",00000, 0, True);
$a = $result['return'];
$count = 0;
$description = $a[$count]->Description;
$available = $a[$count]->Available;
$selling1 = $a[$count]->Selling1;
echo $description;
echo " ";
echo $available;
echo " ";
echo $selling1;
?>
The first product code in our system is "1173590" and the last is "ZZDEL"