Closed (fixed)
Project:
Signup Integration for Ubercart
Version:
6.x-1.0-beta6
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2011 at 04:31 UTC
Updated:
11 Mar 2011 at 22:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
ezra-g commentedI've updated the title to clarify the form I think you're referring to. This is not currently possible, but would be a good feature request.
> Also is it possible to add CCK fields to the checkout form via this module?
CCK fields cannot be added to the Ubercart checkout form.
Comment #2
ezra-g commentedHere's a first stab at this feature. uc_signup attendee information form visibility defaults to the current setting for "visible in user registration form" for non admin-only fields.
Comment #3
ezra-g commentedThis patch would be improved by unsetting empty fieldsets in the event that all fields of a particular category are set to not display on the uc_signup attendee information form.
Comment #4
ezra-g commentedAlso, I added a $form_state parameter that we're not using.
Comment #5
ezra-g commentedHere's a revised patch that unsets empty fieldsets when no fields in a category are configured to display on the attendee information form.
It also switches the per-field visibility settings to work on the profile field fid rather than the name, so that settings stay the same when field names change, and to make it easier to clear old values out of the uc_signup_field_visibility variable when a profile field is deleted from a site.
I plan to commit this shortly.
Comment #6
ezra-g commentedThis is committed. http://drupalcode.org/project/uc_signup.git/commit/bfbc41a