lalelunet Posted September 26, 2005 Posted September 26, 2005 (edited) I need a function to add the same product attributes to more than 50 products..... To save time I wrote this hack. I wish everyone a lot of fun with this hack...... Description: This hack helps you to save a lot of time to setup products options. Just generate products-options-lists and assign them to the products of your choice. Now you are able to share a single options-list between multiple products. You had the choice between selected lists for a single product (mostly a new one) or lists to already existing products.... lists -> products products -> lists If you change prices or add an other product-option it will affect all products where this list is assigned to..... The contribution may be downloaded here Edited September 27, 2005 by Johnson Quote Greetings Thomas
lalelunet Posted October 3, 2005 Author Posted October 3, 2005 The first bug was found...... :( There is a update available you can get here Quote Greetings Thomas
ChrisG Posted October 5, 2005 Posted October 5, 2005 HI, I am getting this error. Plus I am getting some stuff in I guess, German This is the Page link--- catalog/admin/global_attribute_update.php?pr_id=23&action=product_list Preise aendern << overview Attach options-lists to this product: Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/aatest.us/httpdocs/oscommerce-2.2ms2/catalog/admin/global_attribute_update.php on line 347 I hope you can help me fix this ChrisG Quote
lalelunet Posted October 6, 2005 Author Posted October 6, 2005 HI, I am getting this error. Plus I am getting some stuff in I guess, German This is the Page link--- catalog/admin/global_attribute_update.php?pr_id=23&action=product_list Preise aendern << overview Attach options-lists to this product: Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/aatest.us/httpdocs/oscommerce-2.2ms2/catalog/admin/global_attribute_update.php on line 347 I hope you can help me fix this ChrisG Maybe.... I guess you try to assign options-lists to a existing product. This error occures because of the script did not found any options-lists. Is there a list? If not create one..... If the problem is not solved please check if you make a error at the setup of AttributesWizzard (forgot something etc). Give me some time.... I try to reproduce this error and find a fix....... The German stuff I forget to delete from the file. Wait until the next release and then its gone...... :rolleyes: Quote Greetings Thomas
ChrisG Posted October 7, 2005 Posted October 7, 2005 Yes we tried to make a list but it seems to eat it and not be able to continue. You may go to my test site so you can see what is wrong or what I am doing wrong. http://www.aatest.us/oscommerce-2.2ms2/catalog/admin/ This is not a real store only a test site. Thanks, ChrisG Quote
lalelunet Posted October 8, 2005 Author Posted October 8, 2005 (edited) Maybe.... I guess you try to assign options-lists to a existing product. This error occures because of the script did not found any options-lists. Is there a list? If not create one..... If the problem is not solved please check if you make a error at the setup of AttributesWizzard (forgot something etc). Give me some time.... I try to reproduce this error and find a fix....... The German stuff I forget to delete from the file. Wait until the next release and then its gone...... :rolleyes: I found the problem. It is an effect from the mysql problem with the language_id (update to v.011). I did not realize how deep this problem will be....... I had to fix several places in the global_attribute_update.php Please change the global_attribute_update.php in your admin directory with the version from 0.12 :( You find v 0.12 here To use the setting you have already done in your shop you had to execute these two sql order in your database. UPDATE `gattributes` SET `language_id` = '1' UPDATE `global_options` SET `language_id` = '1' Edited October 8, 2005 by lalelunet Quote Greetings Thomas
lalelunet Posted October 8, 2005 Author Posted October 8, 2005 Yet another bug fix....... You should update your AttributesWizzard....... Details and the new version you find here There is also a documentation with screenshots available.... Because of the size of the package from ~500kb you can not download it from oscommerce at the moment. A copy you will found here Note to all users: Please do not post support questions in this thread. Use this instead.... http://www.oscommerce.com/forums/index.php?showtopic=172703 Quote Greetings Thomas
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.