This commit is contained in:
GreenRobot 2017-06-22 14:58:55 +00:00 committed by GitHub
commit 29902abad1

View file

@ -198,6 +198,11 @@ class ModelExtensionRetailcrmIcml extends Model
$e->setAttribute('productId', $product['product_id']);
$e->setAttribute('quantity', $product['quantity']);
}
/**
* xmlID = product_id
*/
$e->appendChild($this->dd->createElement('xmlId'))
->appendChild($this->dd->createTextNode($product['product_id']));
/**
* Offer activity
*/