First things first, thanks for these great modules! They can take away a lot of pain ;)

At a new site I'm working on, I'd like to have a donation button (or otherwise the possibility to order a non shippable product/service with a price the customer just wants to pay). But, when an anonymous user decides to donate (or purchase the service), it's necessary to collect some additional textual information. Think about company name, url, contactman, phone number, promotional text - to publish (title, first paragraph/excerpt, second paragraph), et cetera.

It seems that a lot of people are looking for something like this, but I haven't found a solution yet:

- http://drupal.org/node/55680
- http://drupal.org/node/57115
- http://drupal.org/node/59530
- http://drupal.org/node/72024
- http://drupal.org/node/81530
- http://drupal.org/node/81532
- http://drupal.org/node/106798

Can it be done by using e-commerce?
If not, are there any plans to implement this in future versions?
And is there an easy way to integrate e-commerce with webform.module to make it possible?

Thanks for the reply!

Cheers,
Marc

Comments

Marc Bijl’s picture

Category: feature » support

Hmm, may be better change category to support request...

Marc Bijl’s picture

Anyone?

cyberswat’s picture

This is a good idea. Another example that includes authenticated users as well is service item that may need additional information to complete. The only existing mechanism I see to collect that information is to have an administrator contact the person placing the order after the fact or adding additional instructions in the receipt emails for the end user to follow. Being able to collect that information before checkout would be beneficial.

Christoph C. Cemper’s picture

+1

but I think this would require massive code extensions to the donations module,
i.e. a new product type actually

cvining’s picture

+1 also!

I had a similar need: collect company name, position, fax etc.

Here is the approach I've taken:

  • collect this info, along with address info, with a profile (profile module).
  • Add the following 'if' statement in 'address_form_fields':

    function address_form_fields($edit = array()) {
    if (function_exists(ec_profile_prepopulate)) {
    $edit = ec_profile_prepopulate($edit);

  • Make a simple module (which called ec_profile, as above) to map my profile info the address book entry

In my case, the profile contains info that may be made available in an online directory. Users are required to fill this in before registering for the site, and I require ecommerce customers to register first.

But entries in the address book are private, used only for ecommerce billing &/or shipping.

All this really does is pre-populate new address book entries with info from the profile. The solution is not very general, but seems adequate for me.

This approach may not work for everyone

brmassa’s picture

Status: Active » Closed (fixed)

its now possible on eC4

acdtrp’s picture

on alpha 6? how?