Support

Home Forums Event Espresso Premium View Event Cart – nothing stored – and message about enabling cookies

View Event Cart – nothing stored – and message about enabling cookies

Posted: September 22, 2017 at 4:51 am


Bosworthsgc

September 22, 2017 at 4:51 am

Hi

I have just been taking a booking from a customer who
wanted to book our snowglobe, grotto and tea with santa events
In all there were 6 tickets booked

When I click on view event cart it said there was nothing in the event cart and then got a message to enable cookies

Tried then to proceed to checkout instead and had the same issue

I have booked successfully single events this morning but doesnt seem to work with multiple

Please can you help

Thanks


Tony

  • Support Staff

September 22, 2017 at 4:56 am

Hi Jonathan,

Have you recently made changes to your hosting?

Your events page is being cached – http://take.ms/5OECy

The EE critical pages, and any pages that contain the ticket selector need to be excluded from caching. I’ve ran registrations on your site previously so have you recently changing hosting package or enabled caching using a plugin?


Bosworthsgc

September 22, 2017 at 5:00 am

Yes – have changed it to WP Enging

I have just seen your article on telling them about certain pages to exclude from caching – I am on to their support now

With regards to the ticket selector shortcode – I dont think my events are using this as a shortcode – can you confirm this please?

Thanks


Bosworthsgc

September 22, 2017 at 5:02 am

The issue only seemed to crop up when it was multiple bookings not a single


Tony

  • Support Staff

September 22, 2017 at 5:05 am

With regards to the ticket selector shortcode – I dont think my events are using this as a shortcode – can you confirm this please?

The only way you can select tickets is using the ticket selector, regardless if its displayed using a shortcode or the default output.

If you’re not manually entering the ticket selector shortcode then its just the default output which is covered by the doc:

https://eventespresso.com/wiki/setup-wpengine-hosting-event-espresso/

I’m making a single booking and getting the same problem, you’ll get it with any booking when not logged into the site if the page is cached.


Bosworthsgc

September 22, 2017 at 5:09 am

Hi Tony

Thanks

So I have just spoken with WP Engine and they have disabled caching on the following

/events/
/registration-checkout/
/transactions/
/thank-you/
/registration-cancelled/

Should that, in my set up , be sufficient?

One other thing I realise I should have is to display the basket on the page, for example on http://www.bosworthsgc.co.uk/snowglobe should have a small basket or a link at the foot of the page to view it as once you are in the middle of taking bookings there is no where you can view. IS it possible to do this as well please?


Tony

  • Support Staff

September 22, 2017 at 5:28 am

To test, make sure you are logged out of the site and run a registration, if it doesn’t work its likely still caching. If it then works whilst logged in, its caching. (Pages aren’t cached when logged in)

registration-checkout is still cached – http://take.ms/AufqP

One other thing I realise I should have is to display the basket on the page, for example on http://www.bosworthsgc.co.uk/snowglobe should have a small basket or a link at the foot of the page to view it as once you are in the middle of taking bookings there is no where you can view. IS it possible to do this as well please?

You can use the EE event cart widget to display a mini cart, would that work?

Dashboard -> Appearance -> Widgets

Add the ‘Event Espresso Mini Cart Widget’ to your footer if you theme supports widgets there.

Is that what you are looking for?


Bosworthsgc

September 22, 2017 at 5:33 am

Thanks Tony

Have managed to complete my customers booking (but I am logged in)

I will log out and test again

Have just found the widget – that works perfectly

Thanks


Bosworthsgc

September 22, 2017 at 5:34 am

Logged out it is still not working

Do I need the url of every event to be excluded?


Bosworthsgc

September 22, 2017 at 5:35 am

So for example the snowglobe – would I need every page excluded

So for the 2nd of december, 3rd december and so on or from the main grid page where these are listed?


Tony

  • Support Staff

September 22, 2017 at 5:48 am

No, you don’t need to exclude every event manually.

If you go here: https://bosworthsgc.co.uk/snowglobe

You don’t see a ticket selector right? Its basically just a list of your events, you do not select tickets there.

When you click on a globe you go to /events/{event-name}

So at that point the /events/ exclude WP Engine added should exclude that from caching because it has /events/ in the URL.

(Note that seems to be working)

However when you then select tickets and go to registration-checkout, that page cannot be cached and it currently is.

If WP Engine have added the exclusion as /registration-checkout/ then this page:

https://bosworthsgc.co.uk/registration-checkout?uts=1506080632#checkout

(Which is my checkout page) will not be excluded, as it has /registration-checkout, not /registration-checkout/ in the URL.

Check with WP Engine that this page:

https://bosworthsgc.co.uk/registration-checkout

To see how they need to exclude the page from caching (right now its cached).


Bosworthsgc

September 22, 2017 at 6:11 am

I have checked with them again and that is excluded but I am still getting the same problem. I am also using cloudflare – they said it may be to do with this. I have switched to dev mode but that has not fixed either

I am a bit stuck


Bosworthsgc

September 22, 2017 at 6:22 am

Hi Tony

We are still having issues

Do we need to do anything with the Heartbeat API

that is shown in the article

Thanks


Bosworthsgc

September 22, 2017 at 6:56 am

Ok – so a tchnician at WP Engine has managed to get it working for us

One problem that I have is that I put a booking through whilst logged in and was able to take payment etc and its not now showing in the Registrations section in the back end

Any idea why?

I also had to change a booking yesterday and today its not showing

Thanks


Josh

  • Support Staff

September 22, 2017 at 7:06 am

The caching that was activated yesterday is why bookings from yesterday is not showing.

Regarding the Heartbeat API, they’ll need to allow the Heartbeat API to load on the Thank You page and for the event editor. This issues seems to be a have some confusion surrounding it and WPEngine may tell you that the Heartbeat API isn’t deactivated. If you see the payment information failing to load on the Thank You page after payment and/or have trouble with editing tickets on the event editor page, and WPEngine support can’t help, you can use this workaround:

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

You can add the above to a functions plugin.

The support post ‘View Event Cart – nothing stored – and message about enabling cookies’ 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