mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-24 06:06:06 +03:00
Add <xmlId> field in output XML for perfect integration with moysklad.ru
This commit is contained in:
parent
84b851d79b
commit
b1e2bfca64
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user