Im making a import for a client using Magmi. and the weirdest thing is happening.
Imagine a list of products by SKU
sku1
sku2
sku3
when the import is finished it looks like this
sku1
sku1
sku3
i have no idea why this is happening and why Magmi is changing the SKU of a product
In real life [sku::301e-1204] is changed to [sku::601E-4123]
First stage is to read product.xml and below is the result of one product
[sku] => 301e-1204
[price] => 39.9500
[ecommerce_guid] => 29C6C1E8-06FC-4C52-A652-002D1DBA8A78
[product_variation_id] => 147146-7970
Second stage is to read stock.xml and below is the result of one product
[sku] => 301e-1204
[qty] => 1
[use_config_manage_stock] => 1
[is_in_stock] => 1
this is the function that injects it into magento database
public function importProduct($product)
{
$this->magmi->ingest($product);
print_r($product);
}
the array results you see are produced by the print_r($product); line