Posted: August 19, 2014 at 11:29 am
|
Hello and good day! I have a problem with my event registration process. Since I bought the Multi Registration add-on there seems to be two different routes a user can take to get to the cart and inter their information and pay. The issue I am having is this: Here are the steps to replicate the problem: 1. Go to the event registration page here: 2. Click one or several “add to cart” buttons 3. Wait for the button to turn to “view cart” and then click it 4. Select # of participants and then “enter attendee information >>” 5. Enter attendee info and press “confirm and go to payment page >>” It is this page now that is the one in question. Editing the template file at: wp-content/uploads/espresso/templates/payment_page.php will do nothing for this file here. Now check this out! If you do the process in the following fashion you will get the payment overview page that will respond to the payment_page.php template 1. Go to the event listing page here: 2. This time, actually click a course title to go to the event page for that course. For example: 3. Now put your info and continue to the next step 4. Right here, we start to deviate from the process above. This page shows 5. Click from the above step “confirm registration” to go to the next step 6. The page you land on is now the Payment Overview page. Notice how this page actually shows the attendee first and last name? It also does not show all of the pricing information the other page did and it gives a registration ID which the other page did not. So, what is the bottom line? Several points: 1. The process has to be the same throughout. No matter if a visitor to my site goes through the event page itself and decides to register, or goes to the listing page and adds events to their cart. The process and pages they see, must be sequential exactly the same. This only makes sense. 2. I have a graphic designer putting together this registration and checkout processes for me and for reasons in #1 above, these templates all must be editable. I need to add markup to them and I cannot currently get any changes out of the process outlined in the first scenario of this ticket. How can I get the process to be the same no matter which way the visitor wants to register and how can I edit the payment_page.php template when the user decides to start the process by adding and event from the listing page? |
|
With the exception of this payment_page.php file I have successfully been able to edit all other template files. But I have not been able to edit it when landing on it from the multi event registration “add to cart” button from the listing page. I have also not been able (as far as I can tell) to find any settings in the dashboard that would control the template flow. As mentioned in the initial post, this flow must be the same as far as viewing cart, entering attendee information and checking out. Currently they take two different paths in their process depending which way they choose to do it. Thanks and I eagerly await your feedback! 🙂 Great plugin! |
Hi Stanley, Thanks for describing the issue clearly. Go to an event in the event editor within the WordPress dashboard. Then turn off the registration form. Now add this shortcode to the event description: [ESPRESSO_CART_LINK event_id=”add_event_id_here” direct_to_cart=1 moving_to_cart=”Redirecting to cart…”] Then update add_event_id_here to the event id of that event and save changes to the event. Now when someone clicks on the Register link, they will be brought to the cart to begin registration checkout. Then repeat this process for your other events. Here are some other options for the shortcodes: https://eventespresso.com/wiki/shortcodes-template-variables/#add-to-cart — |
|
|
Lorenzo, We are getting there, thank you for your help. So, with the information you gave me, we were able to resolve the processes being different. I have dropped the shortcode you supplied into each event description as you have instructed. You can verify that if you would like by visiting one of my courses pages: https://www.mrwpress.com/event-registration/?ee=716 The trouble is now, the Payment Overview page. It is not responding to the: wp-content/uploads/espresso/templates/payment_page.php file. Again, it was responding in the previous method (which we have now completely done away with). With these recent changes in place, we are 1/2 way there from my original problem. Now, we have to address why that template is not responding for me. Any ideas? Thanks in advance and I appreciate your help Lorenzo!!! |
Try moving all of the templates over the the espresso/uploads/templates location and then try editing them. — |
|
|
Lorenzo, I have done this already. All template files from the plugin live in the uploads folder at this point. Next? Thanks! |
|
I put three exclamation points (!!!) in front of the text “Your registration is not complete…” just to see if it was working. It is not. The file is being ignored. We can actually tell this because the file in the working scenario from my initial post actually displayed the registrants name, the total amount and a registration ID. This Payment Overview page is not giving the registration ID and is not giving the first and last name as a review. At this point, all other templates are working and are in the /uploads/ folder. It is only this template at this time that is not responding to any changes in the HTML (or anything) within the payment_page.php file Again, I have uploaded the file with three (!!!) in it. We should be seeing those exclamations before the text. They are simply not showing up. Here is that code pasted here:
|
|
Hi Stanley, Editing the payment_page.php won’t work. The reason for this is that the Multiple Event Registration process routes through this file: /wp-content/plugins/event-espresso_31365/includes/process-registration/add_attendees_to_db.php That’s a core file and but the function (event_espresso_add_attendees_to_db_multi) is pluggable. This means the function can be added to a custom_functions.php file (in wp-content/uploads/espresso) or to a custom functions plugin, and then edited to suit your needs. Hope that helps. |
|
Dean, you got it man! Thank you very much to you and Mr. Lorenzo. You guys rock and I will now mark this ticket resolved. What I did was copied the function out of the file you mentioned and put it into my theme which is my own custom theme and does not get subject to updates: themes/mrwordpress/functions.php Works like a charm and I am off to the races! |
The support post ‘Two different processes with Multi Event Registration add-on’ 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.