Support

Home Forums Event Espresso Premium Possible to add tickets from multiple ticket selectors on one page?

Possible to add tickets from multiple ticket selectors on one page?

Posted: June 3, 2022 at 3:02 pm


scaldwell

June 3, 2022 at 3:02 pm

https://hoffmanarts.org/about/programs/horticulture/test/

I’ve got multiple ticket selectors on this page, and I want users to be able to add items to the cart (and have it show on the widget at the top – or at least have it NOT take them to the cart the minute they add one ticket into their cart. Does this make sense? Oh my… so we’re selling plants here on this page so people are going to have lots of options and we don’t want them to have to come back to this page to keep adding things to their cart.

This sample page is just a test, in real life, each of these tabs will have many plants for sale…

Thanks for pointing me in the right direction.


Tony

  • Support Staff

June 6, 2022 at 6:16 am

Hi Shelly,

That should be happening by default when you use the Multi-Event Registration Add-on, but the scripts aren’t loading on that page.

Can you try adding this snippet to the site:

https://gist.github.com/Pebblo/9cca900c37b324cf5c9ad1de8d770d27

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

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

Then retest that page, does it work then?


scaldwell

June 9, 2022 at 9:11 am

Thank you for this. I just have one issue… Can I block on this page only the popup that offers the user to either continue on to checkout or to view their cart? I need people to actually stay on this page… I have added the cart widget which gives them the opportunity to proceed…

Check it out here: https://hoffmanarts.org/about/programs/horticulture/2022-wonder-garden-plant-sale/

Thank you so much Tony!
Shelly


Tony

  • Support Staff

June 9, 2022 at 3:43 pm

Hmmm, possibly.

Something like this: https://gist.github.com/Pebblo/79cc464a6fcb31959707608f9b36c7dd

Which uses is_page() to check for a specific page slug and then removes the function which adds the placeholder for the model from that page.

The support post ‘Possible to add tickets from multiple ticket selectors on one 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.

Event Espresso