Posted: August 9, 2016 at 2:03 am
|
Hello, Following this thread, I just realized that after we fixed the automatic country selection in the Attendee Information (which comes out correctly as Switzerland selected), the country field in the payment options screen now comes up empty. You can test this at any of the events, for example this one. I would also like to hide the “State” field in the Payment Options screen, can I do that with custom css? How? Here is the existing code related to this in my site specific plugin:
|
You can probably remove the part where you have the ee_populate_from_attendee_information_or_use_default() function and its accompanying filter hook. This is because state and country values are automatically autofilled from what’s selected on the reg form. If you decide that you want to leave that code in, you can change the part where it has this:
to this:
This is not recommended since it could result in failed credit card verifications, but that’s ultimately your call, so you’d add this to your stylesheet:
|
|
|
ok this worked perfectly. thank you! |
The support post ‘Default Country not selected in Payment Options’ 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.