Support

Home Forums Event Espresso Premium Multiple Event Registration, Attendee & Pricing info submission

Multiple Event Registration, Attendee & Pricing info submission

Posted: April 2, 2014 at 8:25 am

Viewing 9 reply threads


VIUS LLC

    April 2, 2014 at 8:25 am

    Hello,

    I have setup a registration form for single events, with the ability to add multiple attendees. I have also modified it to select an appropriate price (invisibly) based on number of registrants. This is all working fine with the standard registration form.

    However, it was requested that it be possible to register for multiple events, a-la a shopping cart. I installed the Multiple Event Registration addon for this, however it appears only to work by a hyperlink, not a form submission. I tried replacing the form submit button with the add to cart link, however this naturally does not submit the form; it just adds the event to the cart, without any registrant or pricing information.

    Is it possible to leverage the registration form to submit to the cart, so that the registrant and pricing info (all the data passed through the form) gets added to the cart as well?

    Here is an example event:

    Thanks,
    Andrew
    —-

    WP: 3.8.1
    EE: 3.1.36.4.P
    Multi Event Registration: 1.0.5.p
    Recurring Events: 1.1.8.p


    VIUS LLC

      April 2, 2014 at 8:26 am

      Sorry forgot to add the link:


      VIUS LLC

        April 2, 2014 at 8:27 am

        Hmm something is wrong with the link editor in your wysiwyg:
        http://criterion.viussandbox.co/events/asbestos-worker-handler-2/


        Dean

        • Support Staff

        April 3, 2014 at 3:01 am

        Hi,

        In short, no.

        The cart system is built to work in a specific way: you add X number of items to cart, select ticket quantity and then fill out the registration forms.

        You may be better off dropping the form entirely and just have the add to cart button instead.

        P.S. sorry about the wysiwig, the forum software we use is temperamental sometimes.


        VIUS LLC

          April 3, 2014 at 7:03 am

          Hi, thanks for your response.

          Well, I can’t really change the entire user workflow and interface I have developed, so dropping the form isn’t really a viable option.

          How about the other way around? Would it be possible (with some hacking, even), to pass the form data along with the shopping cart submission button? Perhaps you can point me to the right function(s) which I might need to modify.

          Any way I can make this work, really.

          Thanks
          Andrew


          VIUS LLC

            April 8, 2014 at 9:53 am

            Hello,

            I just wanted to try and follow up with this again. I certainly understand there is no out-of-the-box way to make this happen. However I was hoping someone might point us in the right direction to try to modify/override existing functions to make this work.

            We do not expect anyone to do this work for us, but I would appreciate some kind of response as soon as possible.

            Thank You,
            Andrew


            Dean

            • Support Staff

            April 9, 2014 at 2:07 am

            Hi,

            Sorry about the delay in getting back to you.

            Is it possible? Maybe. The only way I can think of doing it would be to pass the form data as a query string and then use a javascript function to autofill the form with the data. You would have to hold that query string for 2 pages though: your button click to the ticket selections and then to the forms.

            I don’t believe there is a way to circumnavigate the forms in the cart system.


            VIUS LLC

              April 9, 2014 at 6:57 am

              Hi,

              Thanks for the follow up. So if I am understanding you correct, even if we were to, say, add the attendee and pricing data to the cart session variable (or our own custom session variable, for that matter), a user would still need to walk through the attendee/pricing form, and the attendee information forms for the cart? Essentially, you’re saying the workflow cannot not be bypassed, but just partially “automated”?

              Andrew


              Josh

                April 10, 2014 at 8:14 am

                Hi Andrew,

                Most of the Multi Event Registration code can be found in cart.php, along with the latter part of add_attendees_to_db.php.

                I can’t speak for Dean on what he meant, but I can tell you that the support license covers support for the out of box functionality of Event Espresso. You’re more than welcome to refactor the code that we develop, test, and support. With that, I hope you can understand that we can’t provide detailed support for code customizations.


                VIUS LLC

                  April 10, 2014 at 9:04 am

                  Thanks Josh,

                  Yes I certainly understand your support is limited to your built-in functionality, that makes complete sense. Thank you for your help.

                  Feature Request for version 4: Assuming you are rebuilding this add-on for version 4, I would recommend making the Multi Event Registration follow as much of the same workflow as the normal registration. This way, attendee and pricing info can also be stored in the cart system, and multi/non-multi registration can be more easily interchangeable. Just my 2 cents.

                  Thanks

                  Andrew

                  Viewing 9 reply threads

                  The support post ‘Multiple Event Registration, Attendee & Pricing info submission’ 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.

                  Event Espresso - Staging Server