I'm working on an enhancement to this module that allows you to define product classes per webform. This way the form will only appear if a product of selected class is in the cart during checkout.

This is my first contrib back, so you will have to school me a bit on how best to give back the code (right now i'm modifying the module and adding my comments). Perhaps you can just add it back to your code?

Comments

arski’s picture

Hey there.

Sounds interesting. I would imagine you're making some sort of configuration form that shows all product content types and a checkbox to select these, right?

It would be best if you could create a patch based the version you have.. under Linux there is just the "patch" command.. in Windows I think it's slightly more complicated, I'm not sure what's the best way.

Also, the setting should be stored in a MySQL table, so you would need to add a table definition and put it to the install file. I can create an _update hook so that people with previous versions get that table installed.

Let me know how it works out.

Thanks,
Martin

density’s picture

Hi,

I'm working on a multi-level subscription membership community site, i am looking at using this module to take the details of new members on the checkout page, so that they can register and pay for their subscription on one screen. If there was one level of membership this module would be perfect, but, we need to show different forms on the checkout page depending on which ubercart product/subscription that they want to purchase.
Using product classes to define which webform to use would be perfect, so i'm desperate to to see this feature added.

One thing i'm not so clear on...
I'm assuming that when the users details are taken in the webform checkout pane, it registers them with these details (passed into their profile) and then once payment has gone through, ubercarts conditional role assignment will upgrade the role of this new member. And the newly subscribed member's details will appear on their profile page.
Is that all correct or am i missing anything that is needed?

Any help, pointers or guidance about other directions to go would be hugely appreciated.
Thanks Guys
Gareth

arski’s picture

Status: Active » Closed (won't fix)

@michaelscappa: I started looking into this, but then realized that the issue is really not originating from this module. In fact, the scenario that you described should be doable (but is not) with any checkout pane, not only the webform panes.. I'm going to close this issue as "won't fix" I'm afraid, but I'll consider building a module that does just what you described, it certainly sounds very useful. In case you want to help out with that module, already have some code, or anything, just let me know, I'm sure we can work on it together if you want.

@density: What I just said to Michael goes to part 1 of your message as well. As for details being passed on to the user profile - that's purely up to your implementation of it, this module only stores the data as a webform submission - what you do with the data after that is purely up to you, but I assume that the scenario you outlined above is surely implementable. :) Sorry if I couldn't be of more help with that.

Give me a shout if you have any follow-ups.

Cheers,
Martin

bkonia’s picture

Hi Martin,

I'm wondering if you've made any progress with developing a module that would conditionally display checkout panes, depending on the product class. This is something that would be very useful for me.

--Brad

arski’s picture

Hey there,

that would be a nice one wouldn't it.. I'm afraid I've been completely swamped with all kinds of work lately, so I haven't started on this yet :( I'm hoping that once the 3.x version of this module is stable I will be able to devote my spare time to that, but I'm really unable to give any kind of estimate atm. :(

Cheers,
Martin

that0n3guy’s picture

sub...

arski’s picture

Hey, I see I haven't mentioned this here, but I actually managed to come up with a module that can restrict panes by product (class) recently, see http://drupal.org/project/uc_product_panes

that0n3guy’s picture

I was about ready to do some coding on this to add the ability to select a webform per product but I'll check out yours first.

I dislike hacking ubercart core though... I am already doing that to prevent duplicate emails with paypal wps and to much hacking is going to get difficult to manage upgrades.

arski’s picture

yea I know.. all I can wish for is that the UC patch gets committed rather sooner than later :/

that0n3guy’s picture

Ha, yeah. I decided to just do it. Your work will save me a lot of time.