Posted: November 12, 2015 at 9:09 am
|
Hey there! The main thrust of my query is this: EE4 doesn’t allow users to upload files during registration and I need a workaround. Plus – there are activities that I would like to require as users register for events. Since EE will probably start adding features (like file uploads) over time, it doesn’t seem wise or worth the while to try to hook such complex functions into EE. A great workaround, it seems to me, would be to simply add an additional step (page – real or dynamically populated through templates) to the registration process. Is there a way to interrupt the registration flow from: 1) Add event to cart & click Add to Event Cart to: 1) Add event to cart & click Add to Event Cart OR is there a much better, simpler way for adding a step to user checkouts? |
Hi Jeff, It turns out that the WP User Integration adds a step between the ticket selection and registration form when it prompts the registrant to log in when it’s an event that’s set to require being logged in to register. I recommend checking out the code in the WP Users add-on to see how it adds the step. |
|
|
Hey! That’s great. I think I’m seeing most of what’s going on here. I’m trying to strip the plugin down to a simpler version that would allow me to add a new ‘blank page’ to the registration process. I’ve created a plugin with three files: The Initializer: if ( ! defined( 'ABSPATH' ) ) define( 'EE_CF_VERSION', '1.0' ); function load_ee_cf() { } add_action( 'AHEE__EE_System__load_espresso_addons', 'load_ee_cf' ); The CLASS
if (!defined('ABSPATH')) //define constants /** /** ) } // end of class EE_CFunz And the REGISTRATION STEP CLASS
/** public function translate_js_strings() {} public function enqueue_styles_and_scripts() { /** public function generate_reg_form() { public function process_reg_step() { public function update_reg_step() {} } // end class EE_SPCO_Reg_Step_CF I know that in your wonderful plugin, you reach out to several modules, templates, and other assets to create the awesome UX that Event Espresso has. But – is there a shortcut or specific function that you can point me to that I could fit into my REGISTRATION STEP CLASS file to open a new ‘page/step’ that includes a “continue” button? |
|
Ooof. Reposting with (hopefully) better formatting. Hey! That’s great. I think I’m seeing most of what’s going on here. I’m trying to strip the plugin down to a simpler version that would allow me to add a new ‘blank page’ to the registration process. I’ve created a plugin with three files: The Initializer:
The CLASS
And the REGISTRATION STEP CLASS
I know that in your wonderful plugin, you reach out to several modules, templates, and other assets to create the awesome UX that Event Espresso has. But – is there a shortcut or specific function that you can point me to that I could fit into my REGISTRATION STEP CLASS file to open a new ‘page/step’ that includes a “continue” button? |
I can point you to the hook that you can use to hook into the checkout for adding your additional registration step. It’s the |
|
The support post ‘Add Second Registration 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.