Hi,
Because of other things like attribute native modules functionality and not having this module earlier, I am working right now with the native attribute system of Ubercart. I have a database of a lot of products with attributes.
If I wish, how can I migrate this to cck_attribute instead of native attribute.

Are you willing to write a sort of documentation or example module for this migration?
CCK has lots of advantages, and I think your module would benefit from a certain migration script to get over.

Thanks a lot in advance for considering this!
greetings, Martijn

Comments

trungonly’s picture

Look at .install file, you will see a simple database schema. Look at database tables, you can see how the 2 modules stores data.

CCK attribute inherits code from native attribute and database tables to store selected options data. So basically you need to do nothing! Just create same attribute fields, then I hope the data structure are the same and you need to do only the little things to make it works.

At this time I can't work on migration script, but if you need I think you can hire somebody to do this data conversion job.