I am working on a donation feature to allow a customer to make a variable donation and I have this working using the Ubercart Variable Price module.
I have a couple of other requirements for with additional info to be provided by the customer making the donation, such as:
- In memory of (checkbox)
- If 'In memory of' is checked, display further inputs: name (textfield), relationship (textfield or select list), more info (textarea)
- Gift Aid (checkbox)
As well as this, it would be great if I could add a 'Checkout' button instead of an 'Add to cart' button so that they are not tempted to add other products during the checkout process.
Any guidance would be most helpful. Thank you!
Recent comments
One suggestion would be to "fail early". It looks like if the user does not have the organisation field set, none of the other code matters. if ($role == "organisation") { $u = user_load($...
node access
Great, willowf! Glad to help. Yes, posting on the issue queues is the way to go. What you saw here doesn't always happen :) stpaultim and I caught an interest in this module since it was...
Points for users
Hi onyx. No time to debug for you, but have you try step-debugging, or inserting dpm() before each return to check if the logic is working in your code? Also, keep in mind that other...
node access
You've included everything relevant. Thank you. You don't need to be a developer to help; writing clear reproduceable bug reports helps people identify the cause and remedy of problems
Solved: Error on config/people/permissions
WOW! The work you’ve done is awesome. I’ve been following your progress, and the sense of community that comes across is incredible. I’ve tested the module, and it works really well,...
Points for users