• Resolved rikkeperriard

    (@rikkeperriard)


    I’m using the plugin with multiple bookings allowed per time slot, but need to show the user when the slot is filling up.

    Would it be possible to add a class or a data-attr to the available slots, showing that X out of Y slots is booked? I would like to style the slots ie. “green, yellow, red” depending on how many available slots are left.

    Thank you! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, that can be done. Use the following solution: https://apphourbooking.dwbooster.com/faq#q308

    Thank you for using the plugin!

    Thread Starter rikkeperriard

    (@rikkeperriard)

    Thank you for your reply! ??

    As far as I can see, the capacity is added as;

    <span class="ahb_slot_availability">
    <span class="p">1</span>
    <span class="t">1</span>
    </span>

    and although it does show the capacity, it doesn’t allow for individual styling because it is content not markup.

    Would it be possible to request the capacity being added as a class to the parent element? ??

    ie. as below “ahb_slot_availability_1_of_4”

    <div class="availableslot ahb_slot_availability_1_of_4">
    <a s="0" href="" d="2023-10-18" h1="11" m1="0" h2="12" m2="0">11:00
    <span class="ahb_slot_availability">
    <span class="p">1</span>
    <span class="t">4</span>
    </span>
    </a>
    </div>

    Thank you! ??

    Plugin Author codepeople

    (@codepeople)

    Hi! That can be setup into the commercial version of the plugin. We’d like to help but we can’t reply about that in this forum. We are not allowed to support any customers in these forums.

    For pro or commercial product support please contact us directly on our site. This includes any pre-sales topics as well.

    Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add capacity to multiple booking time slots’ is closed to new replies.