Hi - can anyone help me please?
I want to upload a CSV file and use the contents to generate Products, Attributes and Products with Attributes Stock.
When I have the data imported as-is into a table, I work through it and create the product records and want to generate the product options, values and stock for the different sizes.
What I am stuck on - is the products_options_id and any others that aren't autoincremented.
I see that there is a function call to zen_db_prepare_input used to create this value - but I don't understand it.
Can anyone explain how I get the next insert ID for these files?



