0

As I have posted previously, I was trying to built product kit with customization option. But there is no easy solution for that and diving into the coding using drupal commerce or ubercart need understanding of those module first.

So I reviewed the requirement again and saw, checkout is not required. I just have to declare the product kit & gather the information...

Have a look here on this link - Customize Your Laptop

I have to declare package like this. Where there would be default price for kit which will be sum of all default product. Every kind of product, there would some other option either in radio or checkbox and at time of going through step by step user can give their input and total price would change accordingly.

I will tell you the options which I have till now -

  • Webform (But the reference price change would be an issue)
  • Quiz (Same problem)
  • Form API (Client can't create package from them-self that is the main criteria behind this application)

Can I have some suggestion from someone, like what can be my roadmap or which module can help me with it by some tweaking or their API?

1

If you dont want the shopping aspect of the site then I would do the following.

  1. Create the content types called the product.
  2. Add a field with a drop down with the different steps (Processor, RAM etc)
  3. Add a field to add the price.

Create a custom module with formAPI to call these values and do the needful.

Multistep forms would be the way to go. With Ajax to give it some flare.

You can download the example module to see how the form APIs work. The examples you would want to check would be the form example and ajax example

  • Nice suggestion which you gave. But how to change the price on change of the option ? – RajeevK Jan 25 '13 at 12:42
  • What do you want to do with the changed price are you storing it some place or send it via mail or just display it to client? – Mohammed Shameem Jan 25 '13 at 12:43
  • I meant...how to set price for the option which I have in there for user to select ? – RajeevK Jan 25 '13 at 12:44
  • You would be getting the price information from the contents and then you can use that in the form.. – Mohammed Shameem Jan 25 '13 at 12:45
  • For the default selection which I will show to the user first will have sum of all the default selection or some override value..but if he change the selection or check some other option(as in some case he can), price will change accordingly. I need this submission in result...like before submitting I would take the contact details and based on submission user will be contacted.. – RajeevK Jan 25 '13 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.