Hmm. Well, I notice in your code, you're using krumo() in uc_varprice_add_to_cart_data(). Does it look like $form_values have the correct value at that point?
Can you try putting a drupal_set_message() line after line 266 to see if the code is falling through that if clause?
