Closed (won't fix)
Project:
Profile Checkboxes
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Dec 2009 at 10:05 UTC
Updated:
6 Nov 2011 at 22:01 UTC
I'm using uc_profile module and select list does not turn to checkboxes on ubercart checkout form.
tried to allow checkboxes substitution on that form but does not work
form id is uc_cart_checkout_form
Comments
Comment #1
johnhanley commentedThis is more than likely due to some sort of incompatibility with that particular module. In order words both modules are manipulating the profile form data via the hook_alter_form() function. To test, access the database table "system" and set the weight of Profile Checkboxes to "10". This should cause the hook_alter_form() function in Profile Checkboxes to run last. However this could cause the other module to operate incorrectly so you will probably have to discontinue use of one of them. Presumably this would be Profile Checkboxes since the other module is essential to Ubercart.
Comment #2
pokadan commentedThank you.
Comment #3
johnhanley commentedComment #4
speedyboum commentedSubmit.
Comment #5
jnettikI'm using this module and I still can't get it to work with uc_profile. I've changed the weight, I've added uc_cart_checkout_form to this module's switch statement. Everything is still a select dropdown.
I also noticed that this module is a dependency to uc_profile. Just wondering if I'm missing something.
Comment #6
johnhanley commentedThis module has no such dependency. You'll need to ask the maintainer of the UC Profile module.
Comment #7
jnettikYeah sorry about that. This is kind of an inherited site with some module hacks. Evidently this was one of them...
Comment #8
johnhanley commentedOy, I feel your pain.
Comment #9
jnettikSo after getting clean installs to work with of all necessary modules ;) I still ended up with the same problem as the OP. Anyway I was able to fix it by adding this code
Basically the same thing you have going on with the profile pages, just targeting the specific pane in UberCart. So far I haven't had any problems with this and I'm testing it on uc_profile-6.x-2.x-dev. Not sure if this is something that could be added to the module at some point. I think it's a helpful feature.
Comment #10
johnhanley commented@jnettik,
Thanks for the submission.
I'm unable to test the code myself (don't have the correct environment setup), but at a glance the code looks reasonable and could definitely be useful. I'm willing to roll it into the next release once it's reviewed and tested by the community.
Cheers,
John
Comment #11
johnhanley commentedI've decided the demand for this feature is very small and the above modification might be best suited for a custom module when the specific need arises.
Please feel free to reopen if I have underestimated the need for inclusion in Profile Checkboxes.