3 replies [Last post]
yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Was this information Helpful?

I need to do a conference registration, hopefully as one "product". Just click "conference registration" and there it has all the attributes for adding costs for fri, sat, sun, syllabus, name, title for name tag, etc. but the meals part is tricking me up. I dont really want to have each meal be a product. For each meal I need to know the number of adult meals and the number of kid meals, so that is actually two products per meal!

Here is what the pdf of the paper form looks like that they gave me to implement.

I'm guessing there might be a contributed module some where that has quantity, or a multiplier or a grid or something like this...

It would be kind of ok to have one conference registration product (which is pretty much done now) and one meal product....

I might be in irc as YesCT today as I'd really like to get this posted for them soon. Thanks, Cathy

PreviewAttachmentSize
meals.jpgmeals.jpg135.5 KB
yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Re: how to have quantity as part of an attribute option?

one way I can think to do this is to make each meal and adult kid an attribute and then for each attribute, use the option to specify the number of meals, and the cost just put the cost of 2 meals, 3 meals etc. and guess that no-one will have more than 5 adults or 6 kids.

but it's not ... pretty. or smooth.

yesct@drupal.org's picture
Offline
Uber Donor
Joined: 11/18/2008
Juice: 294
Re: Re: how to have quantity as part of an attribute option?

I went with the quick and dirty option of having a bunch of pull downs with 1, 2, 3, 4 tickets listed for the options, and the price there of 6, 12, 18, 24, etc. ick.

but I'd still like to make the meals a separate product since there are so many pull downs and it overwelms and clutters the conference registration.

so I have a new question:
http://www.ubercart.org/forum/support/17942/how_write_php_see_if_particu...

and if I can figure that out, I can make the meals a separate product.

grindflow's picture
Offline
Joined: 12/15/2010
Juice: 85
Re: Re: Re: how to have quantity as part of an attribute option?

uc_attribute_quantity would solve the first issue