Go to create product kit, select products to be part of kit, click preview, get this error message:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'uc_product_kit_add_to_cart_form_' was given in /usr/share/drupal55/includes/form.inc on line 218.
Also the options (quantity, ordering, discount) for the selected products aren't displayed in the create product kit after clicking preview, only when one has clicked submit and then gone back in to edit the kit do these show up. Might be best to have a button in the create/edit product kit form to update the list of options for newly selected/unselected products (similar to the upload button for images that will update the form with new options for each newly uploaded image).

Re: Error when clicking preview when creating product kit
Can confirm.. I get the error as well...
Same here
I have the same problem. I'm using Drupal 5.7 and Übercart beta 7.
With best regards,
Fred Klopper
Re: Error when clicking preview when creating product kit
The preview bug was one I had fixed for products, but never brought it over to product kits. THnaks for catching it.
Setting the product information during a preview is an interesting idea. I'll definitely look into it.
Not working :-(
Hello Lyle,
See my screenshot. I keep getting errors when trying to create a product kit.
With best regards,
Fred
I've just update to the latest bazaar version.
Re: Not working :-(
That's odd. MySQL doesn't usually care that a default value isn't given. It never has for me, anyway. What version are you using?
Regardless, I don't think that column is actually used anymore (if it ever was), so the next commit will have an update to the schema. Run update.php when you get it.
Hello Lyle, I think it's odd
Hello Lyle,
I think it's odd too. If I just copy the query from the errror message and execute it in my query browser it is no problem at all.
I'm using 5.0.51a-community-nt at the moment but I know I had the same problem with 5.1x installed.
Thanks for your quick reply!
With best regards,
Fred Klopper
Re: Re: Not working :-(
hi lyle, has this thing been committed? i just bumped into the same bug with latest bzr update.
thanks!
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'uc_product_kit_add_to_cart_form_41' was given in /var/www/htdocs/projects/cinefilipino/drupal-5.6/includes/form.inc on line 218.Re: Re: Re: Not working :-(
Isn't it terrible when you make a mistake you already told yourself not to make?
uc_product_kit_forms() has a hidden argument that I found out about when I fixed uc_product.
Should be fixed now.
Asking for Dimensions with no where to input them
PLEASE DISREGARD. I STARTED A NEW THREAD ON THIS AND AM WORKING ON IT THERE...
I'm making use of a product kit where the user has the ability to combine products into the order. I have it all set up but when go to preview, it says that for a custom order I must input the dimensions of the box. Under the UPS packaging, it does not give me an option for the dimensions as it does with all other products I add. It gives me the weight option which is not what I want. The customer can choose the products but the number of products will still be the same as will the box size. Any ideas?
Thanks!