Posted: April 19, 2019 at 6:54 pm
Greetings – I am using EE4 (the latest). I need to make some changes on the Registration-Checkout page. I have tried using Chrome Dev Tools but for these the CSS doesn’t seem to be working. How can change (or get at) the following: * The introductory text “In order to process your registration, we ask…” * The word “Details” before the table. * The details table: Need to rename the Name/Desc and Qty columns, and remove the Price and Total column. * Remove the “click here to add a new state/province” link * Change the “Proceed to Finalize Registration” button text. * FINALLY: Then the user clicks the submit button I need to add more functionality to the submit action (I actually need to make some external web service calls after the submit), but I just need to know the preferred way to extend the submit functionality (hook, more php, etc.) Thanks in advance! – Mark |
|
Hi Mark, You wouldn’t use CSS to change the text itself, you could style or hide it, but to change the text you’ll use a snippet of PHP. I’ll break each question down:
What do you want to do with this text? If you want to style it or completely hide is you can use CSS:
If you want to change the wording you’ll need to use a snippet of code, if you let me know what text you want there I can give you an example snippet that shows you how to make that change.
Same as above really, what do you want to do with it?
Which details table is this? At first I though you meant the details shown on the ticket selector under ‘show details’ but that doens’t include a Qty field. Can you add a screenshot that highlights the section you mean? https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots
We have a snippet to disable that feature here: https://gist.github.com/joshfeck/7bf112ee2dc9e49f7e3f14b8c2b59611 You can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/
You’ll find some details an example of how to change that text here: https://eventespresso.com/wiki/customize-checkout-registration-button-text/
We need more details to knwo which method to advise you to use but likely using a hook with some PHP. You’ll need to provide more specific details on when you want this to happen, as ‘on submit’ is too vague for use to give you an example or hook to investigate further with. For example, what should happen on a paid vs free ticket, if it’s a paid ticket and they use an offline payment method to finalize and so on, most of the options will require you use a different hook within EE4 to add your custom functionality. |
|
Tony – Thank you for the quick reply. Sorry I was too vague on some of the changes that i need to make. Let me be more specific: 1. Change the introductory text to “To register for your session please complete the following information. Please note that fields mark with an asterisk (*) are required” 2. Change the word “Details” to “Session Information”. 3. In the ticket details table change the “Name and Description” column header text to “Session”. Remove the “Price” column and “Total” column completely. I have a screenshot of the table I am referring to in the _wpeprivate folder on the “tracomtraining” site (called “Details Table Screenshot.jpg”) 4. For the Submit button. We will not be charging for any of the events that we put into EE. So they are all free. No payment/s. So after EE stores all of the WordPress database information for the new registrant, that would be where i would like to add the new functionality next. So I figured it would be a hook, I’m just not sure which one. And would you recommend just adding this new functionality to functions.php on our theme, or should I create a new plugin for it? The plugin seemed like overkill to me. Thanks – Mark |
|
Ok, you’ll need a function like this: https://gist.github.com/Pebblo/8ca7e0ada54d6b615eff8b76ded48461 Only your
You can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/
Sorry, which section is this from?
Can you please just add the link to the image directly to your post, I have no idea where the above is.
I’m assuming you want to use the registration details, so you can use:
Imo the argument of |
|
The support post ‘EE4 – Need to make a few changes on the Registration-Checkout page’ 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.