Support

Home Forums Event Espresso Premium Bypass the Event Page for Multi-Registrations

Bypass the Event Page for Multi-Registrations

Posted: November 7, 2018 at 7:37 pm

Viewing 13 reply threads


Caroline Heaney

November 7, 2018 at 7:37 pm

Hello!

I have set up a catalogue of events here: http://bachinbaltimore.org/concerts-tickets/#season

And, I have individual pages for each event here: http://bachinbaltimore.org/portfolio-items/celebration-of-venice/

I want to use the Multi-Registration function so that folks can purchased tix to more than one event, but when I add it, the box that appears asking whether to either go to the cart or select more items, patrons are directed to the events page. How can I send them back to this page instead: http://bachinbaltimore.org/concerts-tickets/#season

Also can I put a shopping cart icon anywhere?

Thanks!


Tony

  • Support Staff

November 8, 2018 at 4:13 am

Hi there,

How can I send them back to this page instead: http://bachinbaltimore.org/concerts-tickets/#season

You can use this snippet:

https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40

Just change the URL that are directed back to so line 2 would be something like:

return 'http://bachinbaltimore.org/concerts-tickets/#season';

Then add that to a custom functions plugin on your site:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Also can I put a shopping cart icon anywhere?

Do you have a widget area on the theme? The Multi Event Registration add-on includes a mini cart widget, place that in a widget area of the site and it will load a mini cart, is that what you are looking for?


Caroline Heaney

November 8, 2018 at 5:13 am

How do I change this line? Change it in the php file?


Tony

  • Support Staff

November 8, 2018 at 5:17 am

You follow the steps in the link I posted to create your own custom functions file for the site, this one:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Then add the snippet of code I linked to into the plugin you’ve just created:

https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40

Change the URL that is returned by the function to the URL you want to use (the example I gave above).

I can place the code into a custom functions plugin for you so you can just install it as a plugin if preferred, however, it better to follow the above so you know how to change it yourself should you need to.


Caroline Heaney

November 8, 2018 at 5:24 am

I successfully made the first change (using code snippet). It worked!! Thank you!!


Tony

  • Support Staff

November 8, 2018 at 5:36 am

You’re most welcome πŸ™‚

Just to check (I don’t want you change vanishing if you update something), where did you add the code?


Caroline Heaney

November 8, 2018 at 5:56 am

I went ahead and made a site specific plugin like you suggested πŸ™‚ It works! Now I just need to add a mini cart and I am in business.


Caroline Heaney

November 8, 2018 at 6:11 am

I want to just add a link to a CART. When I use this link: bachinbaltimore.org/event-registration/?regevent_action=show_shopping_cart

I get a “Page Cannot Be Found.” What is the correct link?


Caroline Heaney

November 8, 2018 at 6:14 am

I figured it out. THANKS SO MUCH for all of your help today πŸ™‚


Caroline Heaney

November 8, 2018 at 6:31 am

I spoke too soon. When trying to add a cart link to the main menu, they system keeps adding an extra underscore: http://bachinbaltimore.org/registration-checkout/?event_cart=view/#_checkout/

This is how it should look though: http://bachinbaltimore.org/registration-checkout/?event_cart=view/#checkout/

How can I remove?


Caroline Heaney

November 8, 2018 at 7:19 am

I think I figured it all out! Thanks again!!


Tony

  • Support Staff

November 8, 2018 at 7:27 am

I went ahead and made a site specific plugin like you suggested πŸ™‚ It works!

Ah, great. Just checking.

Although you’ve posted you’ve figured this out already, this is the URL you want to use:

/registration-checkout/?event_cart=view#checkout

#checkout can be removed if needed, its just an anchor on the page to make sure the focus is on the cart when the page loads.

  • This reply was modified 6 years ago by Tony.


Caroline Heaney

November 8, 2018 at 8:37 am

Yep! For some reason #checkout kept showing up as #_checkout, but when I removed #checkout, it worked.


Tony

  • Support Staff

November 8, 2018 at 10:03 am

That’s odd, it’s likely some Javascript (usually from the site’s theme but it could also be a plugin).

Either way, I’m glad you got it working πŸ™‚

Viewing 13 reply threads

The support post ‘Bypass the Event Page for Multi-Registrations’ 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