Posted: March 15, 2016 at 6:14 am
|
Hi! Here is why I am asking. I want to add some custom functionality to EE. I am going to meet with a programmer. I want to (1.) Know that I am asking something that is possible – they are not currently familiar with EE. (2) speak semi-intelligently to them 3. I feel like if I can tell them, (a) yes, there is an action hook (name or location to find it) that can be used and (b) yes it is possible to redirect (not actually proceed to checkout) to the cart or go back to the event list that they can tell me they can do it by doing xyz. Here is what I am specifically looking to do: Is this possible? If so, what would be the key parts to lead someone in the right direction? I really appreciate your time and consideration helping me with this. |
Hi there, You may want to have them look at using the A real world example that you can follow is how the WP User Integration add-on adds the “log in” step. There is code in the EED_WP_Users_SPCO.module.php that uses the same filter hook to add a “log in before you can continue” step. You’ll note that this step gets skipped if they’re already logged in. |
|
|
Josh, this is such a great help! I LOVE that you gave a real world example and looking at that code would be really handy to help us figure it out. But, we purchased the multi-event plugin and not the user integration plugin. Is there any way we can see snippets of code to see how you guys pulled it off? My programmer was able to insert a step (he created a new first step) but is having trouble grabbing the contents of the cart to check for our specific needs (1. item count 2. we are going to try to check the text string to verify they didn’t sign up for two of the same classes offered in different sessions – ie no duplicates.) I can have him provide the details if that would be more helpful- he is talking details way above my knowledge (classes/methods errors about serialized etc…) But I think if he could see how you guys grabbed the existing data that would be helpful too. Thank you SO very much for your time and help with this! |
Hello, Here is that file so you can take a look: — |
|
The support post ‘Is there an action hook on the Proceed to Registration button?’ 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.