Please select another day

Support forumPlease select another day
darren_lee_nicholson asked 6 years ago
HI Nikola, I've just checked a clients website which had a working version of your easy appointments and it's now not working. It's stating Please Select another day, nothing has changed at this side or the cron, and all connections are working.
darren_lee_nicholson replied 6 years ago

Is there any solution to this? I currently have an active site but it’s unable to show dates for people to book. Connections are fine and set to working?

3 Answers
Nikola Loncar Staff answered 6 years ago
Hi, can you please share the link to the customers form so I can take a look. Best regards, Nikola
darren_lee_nicholson replied 6 years ago

Hi Nikola, thanks. Link:
http://glasgowpremierphysiotherapy.co.uk/booking/

Nikola Loncar Staff answered 6 years ago
Hi, you have altered select field of form. There is jQuery javascript that is altering html structure and that is reason why there are no time slot inside calendar. Please skip EA fields from being converter to custom select fields. Best regards, Nikola
darren_lee_nicholson replied 6 years ago

HI Nikola, how would I skip EA fields from being converted?

darren_lee_nicholson replied 6 years ago

There hasn’t been any modifications for my end. I updated the plugin and it stopped working. I even tried a clean install.

Nikola Loncar Staff replied 6 years ago

This is done by the theme. Maybe auto update or something. But that code exist now inside current theme.

Best regards,
Nikola

Nikola Loncar Staff answered 6 years ago

Hi inside this file:

http://glasgowpremierphysiotherapy.co.uk/wp-content/themes/gpp/js/init.js

look for function called select2Init and alter this line:

$('select:not(.state_select):not(.country_select):not(.comment-form-rating #rating):not(#tribe-bar-form select)' ).each( function() {

to be :

$('select:not(.filter):not(.state_select):not(.country_select):not(.comment-form-rating #rating):not(#tribe-bar-form select)' ).each( function() {

After you save the change do the hard page refresh and see if select is old one.

Best regards,
Nikola

darren_lee_nicholson replied 6 years ago

Legends cheers mate

Nikola Loncar Staff replied 6 years ago

you’re welcome 😉