mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-04-10 12:41:05 +00:00
Add <xmlId> field in output XML for perfect integration with moysklad.ru
This commit is contained in:
parent
84b851d79b
commit
b1e2bfca64
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue