Support

Home Forums Event Espresso Premium Clicking Add to Event Cart leads to error

Clicking Add to Event Cart leads to error

Posted: November 22, 2021 at 8:58 am

Viewing 2 reply threads


applyebp

November 22, 2021 at 8:58 am

Hi! This problem was reported by a registrant today. When they click on the “Add to Event Cart” button, it goes to “This page doesn’t seem to exist. It looks like the link pointing here was faulty. Maybe try searching?”
Here is a page with one of our events for your reference: https://www.applyebp.com/live-workshops-grid/the-engaged-child-fall-2021/
The interesting thing is that after adding the event and seeing the message above, and then I return to the same page (say the one above), “Add to Event Cart” button is replaced by “View Event Cart” button. If I click that new button, it goes to “Registration Checkout” showing that I did add a ticket and I can proceed with registration.


Tony

  • Support Staff

November 23, 2021 at 5:52 am

Hi there,

The page you’ve linked to has been created using Elementor and I assume uses the [ESPRESSO_TICKET_SELECTOR] shortcode to output the tickets there.

You’re using the Multi Event Registration add-on so what should happen when you submit tickets is an ajax request is sent to submit your tickets, this would show a ‘cog’ icon on the screen and then am modal showing your cart.

So first something like this: https://monosnap.com/file/nDsiAf0oHfiquSScKxzYOqBLty8O31

Then something like this:
https://monosnap.com/file/cWXqT61cXQ9jjfBq0iQZTDuzQ2n3lS

On your custom page the assets for the multi-event registration add-on aren’t loading (because it’s using a page builder EE can’t “see” its shortcode usage and doesn’t know to load its assets) so when the ticket is submitted, it submits to the page itself and goes directly to the event. For me, that loads your event rather than a 404.

If I remove your custom CSS to hide all of the Event details on the default EE event output, here: https://www.applyebp.com/events/the-engaged-child-online-fall-2021/

The ticket submission works as expected there (that’s where the above 2 screenshots are from).

Can you temporarily disable the EE4 multi-event registration add-on and see if the ticket selection works from your custom page?

Note – just to explain the difference in behaviour the ‘Add Event Cart’ triggers the ajax request to add tickets to the cart, without the ajax it does it’s best to try and figure out what the request is trying to do. The ‘View event cart’ directs the browser to the checkout page so that’s like visiting another page and should always work.


applyebp

November 23, 2021 at 7:09 am

Thank you! Removing multi worked. It’s ok for our needs as rarely do we have multiple event registrations at the same time.
But it’s weird that this error only happened starting yesterday. We have been using Elementor since summer with no issues with our ticketing.

Viewing 2 reply threads

The support post ‘Clicking Add to Event Cart leads to error’ 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