2 replies [Last post]
mrvoip.com.au's picture
Offline
Joined: 10/08/2008
Juice: 33
Was this information Helpful?

Dear Ubercart Community,

I've been playing with ubercart on-and-off for about 3 months and I've only just realised what I want to do with it for a potential customer I've been talking with over the past 12 months.

Basically, they have a set of products that they bundle together - a one-stop-IT shop.
I'd like to bundle their products together to create a quote out of the shopping cart.

The workflow would work on the basis that the potential customer fills in the quantities of their already-loaded cart.

E.g.

Exchange Server
Windows Desktops
Mac Desktops
Windows Laptops
Macbooks

I'd then like the prospective customers to fill in the text fields for all of the fields, then hit the update cart button to give them an instant quote. If they proceed to the checkout - this would then prompt the one-stop-IT shop to call the prospective customer.

How would this be done with the amazing-can-pretty-much-do-anything ubercart! Smiling

Love your work Ubercart.org

Kind Regards,
Chris

StephenGWills's picture
Offline
Uber DonorBug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/07/2007
Juice: 414
Re: Automatically Load Cart - User Just Adjusts Quantities

I have a couple of pages that act as a-la-carte menus of products. Javascript scrubs the page and builds a single cart_link call such that all the selected products are added to the cart at the same time.

it's discussed here too:
http://www.ubercart.org/forum/support/4819/add_more_1_product_cart_with_...

and Ryan addresses it in the faq here: http://www.ubercart.org/faq/4392

mrvoip.com.au's picture
Offline
Joined: 10/08/2008
Juice: 33
Re: Re: Automatically Load Cart - User Just Adjusts Quantities

Thanks for the links Blessed_Steve.
I'm happy to see it's a revolving theme.

What do you think about this for my first steps?

My first instinct is to hack a form together, but I've not (successfully)used the forms api as yet and have used the webforms module to get away with it, so maybe just a html form for initial proof-of-concept over the next few days. Basically to see the uc_cart_add_item() function put to work and update the checkout.

Thanks for your prompt response,
Cheers
Chris