Skip to content

Commit 6be162a

Browse files
committed
Added request identifier to product list
1 parent 7bb606c commit 6be162a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

includes/classes/AmazonProductsCore.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ protected function parseXML($xml){
104104
if (isset($x->Products)){
105105
foreach($x->Products->children() as $z){
106106
$this->productList[$this->index] = new AmazonProduct($this->storeName, $z, $this->mockMode, $this->mockFiles,$this->config);
107+
if (isset($temp['@attributes'])) {
108+
$this->productList[$this->index]->data['Identifiers']['Request'] = $temp['@attributes'];
109+
}
107110
$this->index++;
108111
}
109112
} else if (in_array($x->getName(), array('GetProductCategoriesForSKUResult', 'GetProductCategoriesForASINResult',

0 commit comments

Comments
 (0)