fix product quantity
This commit is contained in:
parent
f46e80c88d
commit
2d764de64d
@ -64,9 +64,8 @@ class Parser {
|
||||
}
|
||||
|
||||
$items = array();
|
||||
$xmlItems = $xml->items;
|
||||
$xmlItems = $xml->items->item;
|
||||
foreach($xmlItems as $xmlItem) {
|
||||
$xmlItem = $xmlItem->item;
|
||||
$items[] = array(
|
||||
'productId' => (string)$xmlItem['id'],
|
||||
'productName' => (string)$xmlItem->name,
|
||||
|
Loading…
Reference in New Issue
Block a user