Trying to use Feeds Migrate to update products in Commerce, I'm facing the following issue:

In my product type (not product variation), I have an existing field (field_reference) which is a 'Text (plain)' field and it is the only field from my xml file (with 2600 positions) which is really unique and part of my product type. The problem is that I cannot mark it as 'unique'. (see screenshot).

Being new to Feeds Migrate, I don't know the reason why and if there is a workaround. Any help most welcome!

CommentFileSizeAuthor
Screenshot 2020-03-20 20.36.06.png91.4 KBdan_metille

Comments

sahaj created an issue. See original summary.

irinaz’s picture

@sahaj, usually you would map this field to GUID or UUID or another field that can be unique. Also please be aware that this is DEV only module and lost of feature might not work at this point. We are doing two sprints this weekend and next weekend hoping to move module further.

dan_metille’s picture

@irinaz thanks for the quick reply!

Actually, my xml product list is provided by the manufacturer and I have already migrated the products from D7. Meaning this field_reference is the only unique data that I have in common between the xml file and the Commerce products.

Maybe I could find a way to convert the plain text field into an integrer field. But then, I will also have to deal with multilingual requirement, which also don't seems yet ready in Feeds Migrate module.

For sure, I noticed that this is a DEV module not recommended for production. I came aware of it existence through some YouTube videos and wanted to give a try, because the concept is really great and it could have help this time. So for now I guess I will write few more migrate scripts, but no doubts that I will use Feeds Migrate later, thanks for all your work.

PS: I noticed some strange duplicate data in the export file, are you aware of it or should I open another issue?