shopware5 / SwagMigration

Shopware 5 Migration (Import from third party systems)
http://store.shopware.com/en/swag00426/migrating-from-other-shop-systems-to-shopware-4.html
MIT License
17 stars 40 forks source link

Kundennummer bei XtCommerce.php customers_cid statt customers_id #12

Closed mbdesign closed 8 years ago

mbdesign commented 8 years ago

in der Datei SwagMigration/Components/Migration/Profile/XtCommerce.php sollte besser customers_cid als customernumber verwendet werden.

u.customers_id as customernumber,

ändern in

u.customers_cid as customernumber,

mitelg commented 8 years ago

Hi @mbdesign in https://github.com/shopwareLabs/SwagMigration/blob/master/Components/DbServices/Import/CustomerImporter.php#L742 a new Shopware customer number is generated. So it doesn't matter what is selected from the original database. Best regards Michael Telgmann

mbdesign commented 8 years ago

Hi Michael,

thank you!

I know but if you use a Connector to aERP System you need to migrate alos the old customer ID.

mitelg commented 8 years ago

Hi @mbdesign even if it would be changed, the customernumber is never saved anywhere. How do you want to use it then? Best regards Michael Telgmann