How to generate "Item ID" for order item import

Hi, order item import requires a “Item ID” as a mandatory field. What are the requirements for this ID? From what I see it is a large number, but not unique. Identical products in different orders share the “Item ID”. Is that all?

[quote name='japanexp' timestamp='1387185742' post='173576']

Hi, order item import requires a “Item ID” as a mandatory field. What are the requirements for this ID? From what I see it is a large number, but not unique. Identical products in different orders share the “Item ID”. Is that all?

[/quote]

What version are you using, I do not see item ID as a required field in version 4.0.3



Sorry Just spotted it in items import,

The best way for you to do this is put in an order and then export. I have just done this and then generated a random number the same length as the item id on the exported order.

On import it is working fine.

I am not sure if the length matters, you can try.







Alan

Thanks, yes it is 4.0.3. I can generate a random number no problem, but just wondering whether the logic that same product in the order = same Item ID is all I need to pay attention to. Of course I can try, but thought I’d ask first to avoid surprises :)

[quote name=‘japanexp’ timestamp=‘1387191458’ post=‘173581’]

Thanks, yes it is 4.0.3. I can generate a random number no problem, but just wondering whether the logic that same product in the order = same Item ID is all I need to pay attention to. Of course I can try, but thought I’d ask first to avoid surprises :)

[/quote]

Sorry japanexp

I only did this to test the format of the number,

I do not know where this number is pulled from, It is obviously relative and constant to the product ID number but can not see how.



Alan

Hi, I generated a common ItemID when Product code, Product ID and “Extra” field were identical and the import went without problems.

Hi!

Can I import the orders at different price of the product that is available at admin panel of cs cart at different price… I tried to import it but was unable to do that… I have cs cart multivendor 4.03…

Waiting for your response…