Title: Exceptions, working Hours &amp; default parameters
Last modified: August 30, 2016

---

# Exceptions, working Hours & default parameters

 *  Resolved [Sigor](https://wordpress.org/support/users/sigor/)
 * (@sigor)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/)
 * Hi there wpmudev,
 * I’m still working on _Appointments_ with more and more tests. This plugin is 
   awesome. But I can’t handle two things:
 * 1. I would like to work only with ‘exceptions‘ on the ‘Working hours’.
    I would
   like to set everyday ‘off’ and only set some exception working days. It seems
   that when you do this, the plugin is able to take on board some parameters: >
   The start of the day, > The break hours. This is very relevant for my use. I 
   like that! But at the same time, when you use the plugin only with exceptions,
   it seems that the plugins consider the working Hours stop at 6:00pm = even when
   I set the End’s Working Hours very late (9pm for example), the plugin seems not
   to take this parameter on board. I tried many things, but I can’t find out how
   to settle this. Did I miss something?
 * See screenshot [https://app.box.com/s/45gs7an0fazt1hvzrizk7o4lhbvolt54](https://app.box.com/s/45gs7an0fazt1hvzrizk7o4lhbvolt54)
 * 2. I need to sell 2 services: one is 30 min duration, the other one is 60 min
   duration.
    On the front, when I choose the 60min service, I can book the service
   every hour. And when I choose the 30min service, I can book the service every
   30 min. But I didn’t find the parameter to allow me to book a 60min appointment
   for example between 10:30am and 11:30am. I can only book my 60min appointments
   inside full hours (plain hours?).
 * For example, I would people could book one 30min appointment at 9:00am, someone
   else book a 60min appointments at 9:30am etc. But people can only book 60min 
   appointment at 9, 10, 11, 12 etc, but not à 9:30, 10:30, 11:30, 12:30 etc.
    Hope
   I’m enough specific. ask me more information if needed.
 * Thank you for your help.
    Warm regards. Laurent ‘Sigor’
 * [https://wordpress.org/plugins/appointments/](https://wordpress.org/plugins/appointments/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568280)
 * Hey there Laurent,
 * I’ve been trying to recreate this on my end by without success. By settings exceptional
   working day on a regular non working day as you did and also added a break on
   that they and everything worked properly, see screenshot [http://screencast.com/t/dWSTlluNlBzq](http://screencast.com/t/dWSTlluNlBzq).
 * Are you sure in the appointment page on the front end that the correct provider
   is being selected? The same one you’re setting this exceptions for in the admin
   side?
 * For your second question if you’re looking to use one provider for those two 
   services the option to to occupy minimum time base is possible only by using 
   Durations add-on and setting selecting “Minimum time based appointment duration
   calculus (legacy)”. Durations add-on is available only in premium version of 
   the plugin.
 * Best regards,
    Bojan
 *  Thread Starter [Sigor](https://wordpress.org/support/users/sigor/)
 * (@sigor)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568285)
 * Hi Bojan,
 * Thank you for your answers.
    I don’t know what is happening. I tried to build
   another brand new page from scratch and same thing is happening: I can’t handle
   the default working hours for my provider when the ‘Working Hours’ are settled‘
   No’.
 * I’ve settled only one provider. So I had moved away the [provider] shortcode 
   inside my first page version. Inside the brand new, I’ve been creating the page
   with the ‘Create an Appointment Page’ check box inside ‘General Settings’. Same
   issue for me on the front.
    I tried of course to empty all caches (WP one and
   browser one) and open the page with another browser but same issue again.
 * I tried to move to ‘Working Hours’ ‘Yes’ and then it works. But when I switch
   back with ‘Working Hours’ ‘No’, the end of the day is 6:00pm by default instead
   my custom parameter.
 * I don’t know what to do…
    Do you have a clue?
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568314)
 * Hey again Laurent,
 * I’ve also tested this with all days set to no in working hours and setting one
   exceptional working day for that specific provider, with breaks, and everything
   seems to be working fine [http://screencast.com/t/FH90sn7tSUW](http://screencast.com/t/FH90sn7tSUW).
 * Can you please post shortcodes that you’re using on that specific page?
 * Best regards,
    Bojan
 *  Thread Starter [Sigor](https://wordpress.org/support/users/sigor/)
 * (@sigor)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568320)
 * Hi Bojan,
 * Thank you for your time. Your help is ‘precioussssss’.
    In your last screenshot(
   [http://screencast.com/t/FH90sn7tSUW](http://screencast.com/t/FH90sn7tSUW).),
   it seems the end of the day is 6:00pm. What is your ‘end of the Working Hours’
   parameter? 6pm or later? Befor today, whatever this ‘End’ parameter was settled
   in ‘Working Hours’ in my website, the front still was stopping at 6:00pm.
 * But today, it seems working! But I don’t know why. I didn’t make any new move
   since yesterday.
 * History of my shortcodes: only one provider is settled each time.
    1. WITHOUT
   Provider shortcode: [app_services] [app_monthly_schedule] [app_pagination month
   =”1″] [app_confirmation] [app_paypal] = everything was working except the “End”
   parameter inside “Working Hours” parameters.
 * 2. WITH Provider shortcode
    [app_services] [app_service_providers] [app_monthly_schedule][
   app_pagination month=”1″] [app_confirmation] [app_paypal] ==> YESTERDAY = everything
   was working except the “End” parameter inside “Working Hours” parameters = same
   thing with ou without the Provide shortcode. ==> TODAY = works! Without any new
   move!
 * 3. TODAY : WITHOUT Provider Shortcode
    [app_services] [app_monthly_schedule] [
   app_pagination month=”1″] [app_confirmation] [app_paypal] = works! I want to 
   wait till tomorrow to know if cache or hosting is involved. What do you think?
 * I made for you a screenshot to explain this shortcode history:
    see screenshot:
   [https://app.box.com/s/iz3cdacj4tdbmp95ty9u4ucgf9d1fxwe](https://app.box.com/s/iz3cdacj4tdbmp95ty9u4ucgf9d1fxwe)
   Hope it’s enough specific.
 * One more question please Bojan. Since I have only one Provider, to you think 
   I can use this shortcode [app_worker_monthly_calendar … worker_id=”32″] instead
   of [app_service_providers]?
    I would like not to show the list of provider because
   I have only one. What is the best process to settle this according to you?
 * Thank you for your time Bojan.
    Warm Regards Laurent ‘Sigor’
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568323)
 * Hey again Laurent,
 * It appears that you’re right, I didn’t see that because I was testing with few
   days available in the week in which case this works properly. After setting all
   days to No I saw that there are slots after the break so I assumed everything
   was fine which it is not, glad you actually saw that.
 * After discussing this with our developer this appears to be a bug and fix for
   this has already been implemented in the premium version of the plugin. Free 
   version is yet to be updated with this. Exceptional working days are not respecting
   working hours if all days are set to No.
 * As for your second question you can remove [app_service_providers] shortcode 
   and add worker to [app_monthly_schedule] like this:
 * `[app_monthly_schedule worker="32"]`
 * This should force your calendar to display table with that specific worker.
 * Hope this helps 🙂
 * Cheers,
    Bojan
 *  Thread Starter [Sigor](https://wordpress.org/support/users/sigor/)
 * (@sigor)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568329)
 * Hi Bojan,
 * Thanks for you time and your help. Thank you for your last shortcode as well.
   
   It’s good to know that is a bug. I’m ok with that. I’m not sure to have properly
   understood: will you fix the free version as well?
 * Thank you for this work flow with you Bojan. Despite the time taken, It was good
   to work with you.
 * Cheers
    Laurent ‘Sigor’
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568338)
 * Hey again Laurent,
 * Glad I could help 🙂
 * Yes, this will definitely be fixed in the next update for the free version of
   Appointments. Unfortunately I don’t have the ETA on the update release.
 * Have a great day!
 * Cheers,
    Bojan
 *  Thread Starter [Sigor](https://wordpress.org/support/users/sigor/)
 * (@sigor)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568342)
 * Thank you Bojan.
    Have a nice day too. Laurent ‘Sigor’
 *  Thread Starter [Sigor](https://wordpress.org/support/users/sigor/)
 * (@sigor)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568388)
 * Hi there Bojan,
 * Do you have some news about this _Appointements_ bug?
    It seems even if one day
   at least is ‘Yes’ status on the ‘Working hours’ parameter, and all other days
   are ‘No’, the bug is still present. When a day is ‘No’ on regular working hours,
   the exception “working days” for this day are not respecting working hours. Even
   with few days available in the week, it doesn’t work properly.
 * Do you have a road map or some information about this bug fix?
 * Cheers
    Laurent ‘Sigor’
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568391)
 * Hey again Laurent ‘Sigor’,
 * > Do you have a road map or some information about this bug fix?
 * At the moment we do not have that, this has been discusses several times and 
   it is something that we will most likely add in the future.
 * As I mentioned above unfortunately I don’t have ETA on the update release.
 * Best regards,
    Bojan
 *  Thread Starter [Sigor](https://wordpress.org/support/users/sigor/)
 * (@sigor)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568392)
 * Ok. Thank you Bojan.
    Please keep me posted when you have more information. Cheers
   Laurent ‘Sigor’

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Exceptions, working Hours & default parameters’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/appointments_eaf36c.svg)
 * [Appointments](https://wordpress.org/plugins/appointments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/appointments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/appointments/)
 * [Active Topics](https://wordpress.org/support/plugin/appointments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/appointments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/appointments/reviews/)

## Tags

 * [exceptions](https://wordpress.org/support/topic-tag/exceptions/)
 * [hours](https://wordpress.org/support/topic-tag/hours/)

 * 11 replies
 * 2 participants
 * Last reply from: [Sigor](https://wordpress.org/support/users/sigor/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/exceptions-working-hours-default-parameters/#post-6568392)
 * Status: resolved