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
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout
No problem, let's see how it evolves. I'd be happy to provide a suggested version if i could. I will keep that in mind and try learn this hook chain hopefully very soon. I will...
File hashing uploads made through TinyMCE
I could request hashing support, but that's the lazy way 🤣 I would appreciate it if you as an active maintainer would 'officially' add a hashing support...
File hashing uploads made through TinyMCE
Hi, i understand the updating obstacle - not worth mentioning - hence it is a wacky (but working) patch until i know what to do. :-) One of my biggest wishes is to understand the hook...
File hashing uploads made through TinyMCE