Closed (fixed)
Project:
Ubercart
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2010 at 20:09 UTC
Updated:
14 Apr 2010 at 17:28 UTC
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
Comment #1
quicksketchYes 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.
Comment #2
jrmorris@sbcglobal.net commentedCan 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
Comment #3
quicksketchI 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.
Comment #4
jrmorris@sbcglobal.net commentedI 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),
);
Comment #5
visuaLatte commentedThere 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
Comment #6
jrmorris@sbcglobal.net commentedYes, 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
Comment #7
quicksketchClearly this has veered out of support for Webform module.
Comment #8
jrmorris@sbcglobal.net commentedI 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.
Comment #9
quicksketchCrosspost.
Comment #10
jrmorris@sbcglobal.net commentedPlease provide a newbie translation and/or how to? Crosspost
Comment #11
jrmorris@sbcglobal.net commentedGot 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?
Comment #12
quicksketch"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.
Comment #13
jrmorris@sbcglobal.net commentedOkay, thanks
Comment #14
jrmorris@sbcglobal.net commentedCan I create multiple products for one registrant profile. I would like to have several products associated with the same registration form.
Comment #15
tr commentedIt 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.