Posted: September 22, 2017 at 4:51 am
|
Hi I have just been taking a booking from a customer who 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 |
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? |
|
|
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 |
|
The issue only seemed to crop up when it was multiple bookings not a single |
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. |
|
|
Hi Tony Thanks So I have just spoken with WP Engine and they have disabled caching on the following /events/ 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? |
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
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? |
|
|
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 |
|
Logged out it is still not working Do I need the url of every event to be excluded? |
|
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? |
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 So at that point the (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 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). |
|
|
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 |
|
Hi Tony We are still having issues Do we need to do anything with the Heartbeat API that is shown in the article Thanks |
|
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 |
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.