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
Steve - long story short - this is a legacy site that was ported from Drupal 7 and had some tinkering done to it so that Brilliant Gallery code was interpreted. This avoided rewriting a few...
Question re paragraphs
Hi yorkshirepudding - once again you leap to my rescue! I thought I had it sussed after reading your reply but I found that creating a new field called Description, hiding the label and...
Question re paragraphs
Hi Ian..., Can you explain why you are using Paragraphs for this? Is it because you have a specific requirement that is only filled by Paragraphs? There are other ways to create an...
Question re paragraphs
Hi Ian You can go to Admin > Structure > Paragraph Types > Your paragraph Type > Manage displays > Paragraphs Editor Preview and adjust what shows there. The path will...
Question re paragraphs
It's not difficult to write JS code in an admin theme (without a module) that would save text from CKEditor to LocalStorage every X minutes and add a button to restore the text from LocalStorage...
Implementing autosave in Ckeditor 5