Okay
  Public Ticket #1080936
Implementation assistance
Closed

Comments

  •  2
    30hourdays started the conversation

    Good day!

    I have a somewhat complicated setup requested by my client, and I'm pretty sure I'm not considering the best implementation of your Booked plugin to do so.  My current setup is as follows:

    • I've created 92 separated custom calendars within Booked, each representing, in this case, a different zip code from which visitors may choose.  Ultimately, each calendar will be setup to reflect a single day since each zip code is serviced only on scheduled days.  For example, one calendar (zip code) will only display available time slots for Fridays, while another will display Tuesdays, etc.
    • Obvioulsy, I can't have 92 different calendars running rampant, so I created a single form in Gravity Forms, and assigned each custom calendar's shortcode to a respective HTML block.  The only option users see on this form is a 'Select your zip code' drop down from which each of the 92 zip codes is available.
    • I then designated each zip code (calendar) to be visible when it's dropdown counterpoint is selected by a user via conditional logic.

    This does work, though it presents with an awful load time, and proceeds to flatten the calendar until the user interacts with it, returning then to its proper size.  I'm sure there's a much better way to achieve this.

    Help!  Please.  :)

  •  57
    Justin replied

    First and foremost, I'm so sorry for the delay in getting back to you, I had a very busy week last week that kept me from getting to my tickets in time. My sincerest apologies!

    ------------

    As long as each zip code doesn't need a separate notification email, you can create time slots with labels for each zip code, but this again would be confusing to the customer, as they would be searching around the calendar for their zip code.

    I'm not sure that there's honestly a better way to do it than what you have, and unfortunately Booked wasn't built to handle this type of setup.

    I imagine the load time on the Gravity Form is due to the page loading ALL 92 calendars at once. A better solution would be something custom, where you have a page template that uses the calendar shortcode, but loads the calendar based on the URL. So for example:

    http://westonlandscape.net/schedule/80011/
    

    This URL would load the proper calendar for that zip code.

    It requires a little bit of custom code, which I can offer to do for you at my hourly rate. My rate is $50/hr but I would only need about 30 minutes to get this done, so $25. Let me know if you're interested in that.

    Thanks for your patience again!

    — Justin Scheetz


    Need professional theme/plugin customizations?
    Check the awesome folks at WP Kraken!

  •  2
    30hourdays replied

    I think it's my turn to apologize for the delay.  :)  I worked out a similar solution with the client using some of your suggestions.  We went with a 5-calendar solution - one for each day of the week - then assigned one of the calendars (via shortcode) to each of the 92 pages (in order to reflect a different zip code map on each).  It's not perfect, but works well for our purposes.

    I appreciate your response!

    Cheers.