Re: Re: Re: Re: Collapsible menu for product options.

Posts: 33
Joined: 01/30/2008

I'm using ubercart for a restaurant.

I have two needs:

- A menu: a form with different sections(main course, desert) and 2 checkboxes for each dish (normal, small).
I'm using a custom form that build itself dynamically. Each section is a taxonomy term. The form populates all the dishes in that section.
We can make it more generalized by adding sections - fields with Ajax. Each field will get one or more taxonomy terms and will present all the products for this section. We can take this a step further and display the cart block beside the form and populate it by AJAX.
The module will populate all the products and checkboxes for their attributes:

Section_name product_name Big Small
----------------------------------------
Section1
product1 (checkbox) (checkbox)
product2 (checkbox) (checkbox)
Section2
product3 (checkbox) (checkbox)

SUBMIT

- Dynamic product kit. The user can buy products separately or as part of a meal and get a discount. I'm presenting the same form as in the previous section only this time in each section there are radio buttons instead of checkboxes. When the user submits the form I'm creating a product kit with the selected products and add the appropriate attributes and discount and add it to the cart.

Section1
product_option1 (radio_button)
product_option2 (radio_button)
Section2
product_option3 (radio_button)
product_option4 (radio_button)

ADD_TO_CART

I'll be happy to share it but I need your help to make it more stable.
Is there a way to make a virtual product kit with all the functionality instead of creating another product kit for each meal?

What do you think?

Collapsible menu for product options. By: superpanda (7 replies) Sat, 03/08/2008 - 12:19