How to add newly created attributes assign to existing products?

Project:Added "Links" display type for options in uc_attribute
Component:Code
Category:feature request
Priority:normal
Assigned:tanawut
Status:active
Description
Project: 
Ubercart

I had uploaded my products (firstly without attribute associated with them). And then after for a while, i had recognized some of attributes should associated with. So attributes created, assigned it to class of that products. but database tables associated with attribute is not synchronized with existing products and newly created attributed. How can I manange to synchronized then through out uc system.

tanawut's picture
Offline
Joined: 07/23/2011
Juice: 6
#1

is it possible to programmatically update to tables as the following
uc_attributes
uc_options
uc_class_attributes
uc_class_attribute_options
uc_product_attributes
uc_product_options
any effect to uc system might be occurs ?
Many thanks!
##################################################
My plan is to synchronize the following to existing products
1.1 if we create options we have to sync options to
uc_class_attribute_options
uc_product_options
1.2 if we create new attribute we have to sync
uc_product_attributes
uc_product_options
##################################################
Does any have go through with this implement, could please let me know if it make the consistency to attributes system in uc.
Thanks again.