Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor FARAZFRANK

    (@farazfrank)

    Hi CNSL,

    It’s possible to hide service option at client interface.

    But we needs One default service with some duration. Because on the basis of service duration we calculates time-slot on second dialog window(modal form). So, we can make a hidden field on client booking window and client will select a date and time to complete it’s booking.

    Let me know If It’s works for you.

    Kind Regards
    Frank

    Thread Starter cnsl

    (@cnsl)

    Great. How can I hide the service field?
    tks

    Plugin Contributor FARAZFRANK

    (@farazfrank)

    Hi Thr,

    Here some simple and clear instructions to modify code:

    File to edit: appointment-calendar-shortcode.php

    [1] Find string Select Service and comment out following code as below in Snap-1.

    Snap-1

    [2] Now add an hidden filed code line for a default service ID as shown in Snap-2.

    Code line:

    <input name="service" id="service" type="hidden" readonly="" value="1"/>

    Snap-2

    [3] Now change the message on second modal window as shown in Snap-3.

    Replacement code:

    echo "<div class='apcal_alert apcal_alert-info' align='center'>". __("Available Time For Appointment On", "appointzilla") ." <strong>'".date("d-m-Y", strtotime($AppointmentDate))."'</strong></div>";

    Snap-3

    Note: Make sure plugin deactivated before doing any editing in code.

    Thanks for using Appointment Calendar. You can write a review about our plugin n support here

    Best Regards
    Frank

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove service option’ is closed to new replies.