Is it possible to add a fee to a registration form. If I have created a product inside shopping cart, can I attach that product to the submission of the form?

ie: $? registration fee

Comments

quicksketch’s picture

Yes you can, but not with Webform module. I believe that Ubercart has a Product Node module that you can use to "sell" nodes, we use it on Lullabot.com to sell registrations to workshops and conferences.

jrmorris@sbcglobal.net’s picture

Can you explain more detail. Are you creating a form on the node you are selling. Maybe and example. I am new to drupal and ubercart.

Okay, I have been reading the documentation and it appears to be creating a product from a node. If this is correct, can I create a product from the Webform node. My registration form created using Webform is a node.

Thanks so much for the help.

error: creating content type:
warning: max() [function.max]: Array must contain at least one element in */modules/cck/includes/content.admin.inc on line 241

quicksketch’s picture

I can't really say much else, since I've never set it up either, I just know that it's possible. Basically a user fills out a Node Form during the checkout process as if they were "buying" the node. So you can add any CCK fields you want to the node type and create a custom form that way.

jrmorris@sbcglobal.net’s picture

I am working with this lullabot node checkout and having one problem thus far. I have and email field that I want to populate by default with the user email.

I am using the following: Can't get this to work? any ideas?

return array(
0 => array('field_email' => $user->mail),
);

visuaLatte’s picture

There are two ways you can do this, and I've done both:

1) Use the Signup module in conjunction with the UC_Signup module. If you're selling registration and/or tickets to events, you can attach a 'signup' to the product node for that course or event, and it requires the person to provide an 'attendee email address' during checkout (after your shopping cart page, but before the final checkout). If you've enabled the Profile module, you can also require the person to fill out account registration fields (e.g. on one of my sites, the students have to fill out their school name, grade level, parent name, etc). If you go to http://www.pittsburghprep.com, you can register for one of my client's classes and see how the process looks (just stop before payment :-) )

2) You can use UC Node Checkout, which it sounds like you're using. When someone 'creates' a node of a certain type, presumably a content type with all the custom fields you need, it can be 'attached' to a particular product in the store. There are ways to use Ubercart's Conditional Actions to fill out 'hidden' fields on the node creation form-- such as a boolean field called 'paid'-- which essentially checks to see if the person has paid, and then only fills out that field if he/she has. You can then create a view for site admins that shows all instances of that node type.

Hope this helps!
Nate

jrmorris@sbcglobal.net’s picture

Yes, I am following you. I am using the UC Node Checkout and working toward your final comments for conditional actions on hidden fields "paid" and the views for those instances. However, currently I am stuck on two areas.

1. A custom form field "field_email"; registrants email. I would like this field to default to the user's email? Can't seem to get that to automatically populate.

2. Also, my product is an event type, but does not show up in my list of products "uc_products" view because of the filter Node: Type = product.
However, even if I remove this filter, it still will not show because it will not remain published. I have tried several times to publish, but continues to remove that check box.

Please help,
Thanks

quicksketch’s picture

Project: Webform » Ubercart
Version: 6.x-2.9 » 6.x-2.2
Category: task » support

Clearly this has veered out of support for Webform module.

jrmorris@sbcglobal.net’s picture

Project: Ubercart » Webform
Version: 6.x-2.2 » 6.x-2.9
Category: support » task

I would like to create a page similar to the "catalog" view, except "registrations". These would be all the available products "events" for registration.

The application is a sports site:
baseball registration
football registration
basketball registration

all which have different fees, but similar information.

quicksketch’s picture

Project: Webform » Ubercart
Version: 6.x-2.9 » 6.x-2.2
Category: task » support

Crosspost.

jrmorris@sbcglobal.net’s picture

Please provide a newbie translation and/or how to? Crosspost

jrmorris@sbcglobal.net’s picture

Got most of this working now, but why does it display 4 entries in my views page. It's like each registration is recorded 4 times?

quicksketch’s picture

"Crosspost" just means that we both were posting a comment at the same time. I moved the project to Ubercart, but because you were filling out a comment at the same time, you accidentally put the issue back in the Webform queue. So my comment in #9 was just to move the issue back into the Ubercart queue.

jrmorris@sbcglobal.net’s picture

Okay, thanks

jrmorris@sbcglobal.net’s picture

Can I create multiple products for one registrant profile. I would like to have several products associated with the same registration form.

tr’s picture

Status: Active » Fixed

It seems your original support request was answered, so I'm marking this as fixed. Additional questions/problems should be the subject of separate threads, and if the questions deal mainly with how to use UC Node Checkout they should be posted in the issue queue for that module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.