copy attributes

Posts: 68
Joined: 01/19/2008
Uber Donor

is there any way to copy the attributes from one product to another?

thanks

Posts: 2083
Joined: 08/07/2007
AdministratoreLiTe!

Not really. The closest you can get is to set up attributes for a product class, and then make new products from that class. That doesn't affect already existing products, though.

The only other option is to go into the database and copy the rows.

Posts: 68
Joined: 01/19/2008
Uber Donor

thanks

i created a class, went to add attributes and got this error

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.ordering FROM uc_attributes AS a LEFT JOIN uc_class_attributes AS ca ON a.aid =' at line 1 query: SELECT a.aid, a.name, a.ordering AS default_ordering, ca.default_option, ca.required ca.ordering FROM uc_attributes AS a LEFT JOIN uc_class_attributes AS ca ON a.aid = ca.aid AND ca.pcid = 'photos' WHERE a.aid = 5 ORDER BY ca.ordering in /home/8888/public_html/store/includes/database.mysql.inc on line 172.

Posts: 2083
Joined: 08/07/2007
AdministratoreLiTe!

Whoops. Missing a comma in that query. You can add it in on line 1085 of uc_attribute.module between "ca.required" and "ca.ordering". It'll be fixed in the next release.

Posts: 68
Joined: 01/19/2008
Uber Donor

thanks, that fixed it!!!!!!!!

i have to say that ubercart is on the road "to rule them all"

it is much easier to install, use and configure, especially compared to zen cart. and the support is phenomenal!

I had worked with zen for years then tried ecommerce until I found ubercart which was able to be configured for my special needs.

Thanks and keep up the great work!