Posted: January 15, 2016 at 1:36 am
|
Hello, (Sorry, I have an active license but the system does not let me post to the EE forum…) I am using EE 3.1.36.6.P and only ONE payment option: At the moment the user gets a first page after submitting the registration form, where it states Then the user must (1) click on the button below the title “Off-line Payment Options” in order to get to another button which needs to be (2) clicked to confirm/finialize the registration process (terminating the session). As you can see, there are a lot of clicks just for one single payment option. Another minor thing: Screenshot: Thanks,
|
Hi Thomas, I have updated your account so that you can post on the forums, please let us know if you have further problems.
The easiest way it to add some custom CSS to force the hidden div to remain visible, you could use something like: #bank-payment-option-form-dv { display: block !important; }
You can use some CSS for that again, something like this: #bank-payment-option-lnk { margin: 0 auto; } Does that help? |
|
|
Hi Tony, This is great, thanks. I found .payment_container, .payment-option-dv { display: block !important; position: relative; margin:0 auto; } This had the effect to center the button, but not to avoid it (avoiding the need to click on the button). I would like to see the bank details immediately…do you have any hint how/where to set that? Thanks a lot, |
Hi Thomas, You can use jQuery to perform a “click” on an element. Here is an example: https://gist.github.com/lorenzocaum/6e8602e936123d9d0888 Try targeting bank-payment-option-lnk. — |
|
|
Hi Lorenzo, Thanks a lot for your help. function ee_bankpayment_show_details() { I think this is the right method I am targeting, do you have an idea what’s wrong? Thanks, |
|
Stop, hold your horses, it’s working now! |
Hi Thomas, In reading over your previous replies it looks like you are editing core files within Event Espresso to make your changes, this is really not recommended. CSS can be added to either a child themes style.css file or using a plugins such as My Custom CSS or Reaktiv CSS Builder. Any modifications made to any plugins core files will be lost when that plugin is updated. The function Lorenzo provided is added to your themes functions.php file which is better, however the same will happen there if you update the theme are you are not using a child theme to add customisations. |
|
|
Hello Tony, Thanks for your thoughts and recommendations. |
The support post ‘Reduce clicks for payment process’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.