Viewing 14 replies - 1 through 14 (of 14 total)
  • Hi jehu,

    yes it is possible but lots off code customization let me kow your familiar with php code we provide you code instruction

    Thanks
    Abhishek

    Thread Starter jehu77

    (@jehu77)

    Hi Abhishek,

    php is familiar to me. If I get instructions I can customize the code.

    Regards,
    Jehu

    Hi

    follow given instruction

    go to in plugin directory >> appointment-calendar-shortcode.php.

    open appointment-calendar-shortcode.php go to line number 352 or search comment //Modal Form Works – show frist modal replace under js function code jQuery(‘#addappointment’).click(function(){} with bellow given code

    var d = new Date();
    d.setDate(d.getDate() +1);
    var todaydate = jQuery.fullCalendar.formatDate(d,’dd-MM-yyyy’);
    jQuery(‘#appdate’).val(todaydate);
    jQuery(‘#AppFirstModal’).show();

    go to line number 572 or search <!–PHP Date-picker –>

    on line number 572 replace this line with new line code
    “replace this
    $startCalendarFrom = date(“Y-m-d”, strtotime(“-1 day”, strtotime($curr_date)));

    “with this “
    $startCalendarFrom = date(“Y-m-d”, strtotime(“-0 day”, strtotime($curr_date)));

    let me know did this work

    Thanks
    Abhishek

    Thread Starter jehu77

    (@jehu77)

    Hi Abhishek,

    Thanks, but unfortunately this code didn’t solve the problem. I tried the code and it does postpone the reservation one day ahead, BUT it allows the user to return to the “current day”. Can I totally block reservations for the “current day”?

    Regards,
    Jehu

    Kindly share your site url

    Thanks
    Abhishek

    Hello Abhishek, Hope you doing well!

    As i used this Appointment Calender Plugin in one of my Clients website, But like as i also want the above mentioned change in website, the main thing is when i do some edit in app.calender.php file, the Plugin is immediately Stop working!

    Can you Please tell me what’s the Issue?
    Also Is the below changes Possible:-
    1. Prevent Appointment for Current Date/Today.
    2. Add Address & Postcode Fields in “Schedule New Appointment Form” when last where we have “Book Now”.

    Thanks in Advance!
    Manish

    Hello All,

    Please let me know if the above 2-tasks is Possible! If i Purchase this Plugin Premium Version!

    Thanks,
    manish

    Hey awasthilpu,

    1. yes Prevent Appointment for Current Date/Today as we mention in above comment you can prevent it.

    2. adding extra fields in booking form can not be possible in lit version

    related all query for pro version plz contact us on our contact form Here

    because WordPress not allowed any discussion for commercial product here

    Thanks
    Abhishek

    Thanks for the Reply! Recently submit contact form. Please check & Reply!

    Thanks,
    Manish

    Hello Abhishek,

    Can you please share the code to “prevent an appointment for Today”, like as i confirm from company, in Updated version, can’t able to add extra fields.
    So please share the code & let me know if this below text changes is Possible or note.

    Change Current Static Text. Please check the below text.

    “Available Time For ‘Present Service’ On ’27-01-2016’”
    to
    Prefered Time For ‘Present Service’ On ’27-01-2016′ – We will contact you to confirm.

    Thanks,
    manish

    Hey

    block current date appointment code allready provided in above in this thread in 4 comment

    have a llok
    Thanks
    Abhishek

    Hello Abhishek, but when i edit the file & Update the above listed code, Plugin stops working & the current day is not prevented properly!

    So Can you please tell me exactly or share the Updated Code!

    Thanks,
    Manish

    Hey awasthilpu

    ok

    go to in plugin directory >> appointment-calendar-shortcode.php.

    open appointment-calendar-shortcode.php. and replace all code with linked file code

    find here

    let me know

    Thanks
    Abhishek

    Hello abhishek
    Many thanks for your help! But as i updated the code its not working! I will share the login details! give me your email!

    Please Fix this or give me your Number! & i will call you!
    If Possible please help. “Need to prevent the Today Appointment & show next day date in Your Appointment date column”

    Thanks
    Manish

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Prevent appointment for a current day’ is closed to new replies.