Eversion Systems
November 17, 2014 at 12:10 am
What is the directory structure I need to add to my child theme in order to override /modules/single_page_checkout/template/registration_page_payment_options.template.php
Eversion Systems
November 17, 2014 at 4:45 am
Add New Note to this Reply
Ah think I found it in the documentation
wp-content/uploads/espresso/templates
Eversion Systems
November 17, 2014 at 4:50 am
Add New Note to this Reply
Doesn’t seem to be overriding when I place the file registration_page_payment_options.template.php in that directory
Dean
November 17, 2014 at 5:40 am
Add New Note to this Reply
Hi,
Those files cannot be moved out of the plugin area like in EE3. What is it you’re trying to achieve as it might be possible via a hook or filter?
Eversion Systems
November 17, 2014 at 3:32 pm
Add New Note to this Reply
I’m using EE4. I wanted to add a message to the PayPal payment to say something along the lines of you can pay using your credit card with PayPal.
I can see a filter called “FHEE__registration_page_payment_options__select_other_gateway_lnk”
Is this what I should use?
Lorenzo Orlando Caum
November 17, 2014 at 6:17 pm
Add New Note to this Reply
Hi,
I think this tutorial can help you with that messaging:
https://eventespresso.com/wiki/add-paypal-optional-message-registration-checkout/
—
Lorenzo
Eversion Systems
November 17, 2014 at 8:07 pm
Add New Note to this Reply
If there is only one payment type (PayPal) how do you make it default to it? Can radio buttons be used instead of an image?
Lorenzo Orlando Caum
November 17, 2014 at 8:27 pm
Add New Note to this Reply
Hi,
That will be available in a future version of Event Espresso 4 (auto-select if there is a single payment option).
An image is currently used for each payment gateway.
—
Lorenzo
Eversion Systems
November 18, 2014 at 4:30 am
Add New Note to this Reply
Any idea how I can use some jQuery to press the image link for me?
Dean
November 18, 2014 at 4:50 am
Add New Note to this Reply
jQuery( "#payment-gateway-button-Paypal_Standard" ).trigger( "click" );
http://api.jquery.com/trigger/
Eversion Systems
November 18, 2014 at 4:18 pm
Add New Note to this Reply
Thanks, works great 🙂