Support

Home Forums Event Espresso Premium Override Registration Page Payment Option template

Override Registration Page Payment Option template

Posted: November 17, 2014 at 12:10 am


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

Ah think I found it in the documentation

wp-content/uploads/espresso/templates


Eversion Systems

November 17, 2014 at 4:50 am

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

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

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

  • Support Staff

November 17, 2014 at 6:17 pm

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

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

  • Support Staff

November 17, 2014 at 8:27 pm

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

Any idea how I can use some jQuery to press the image link for me?


Dean

November 18, 2014 at 4:50 am

jQuery( "#payment-gateway-button-Paypal_Standard" ).trigger( "click" );

http://api.jquery.com/trigger/


Eversion Systems

November 18, 2014 at 4:18 pm

Thanks, works great 🙂

The support post ‘Override Registration Page Payment Option template’ 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.

Event Espresso