Trigger Waitlist for "sold out" inventory

  • Profile Image
    CarolTasseff
    Asked on July 15, 2016 at 09:59 AM

    I'd like to show a waitlist for an item once the inventory for it is all sold out. I thought I was acheiving that by using the condition "Is Filled" but it turns out that it didn't mean "sold out." Is there a way to show a field if the inventory is sold out?

    Thanks!

  • Profile Image
    EltonCris
    Answered on July 15, 2016 at 11:01 AM

    Actually with the inventory widget, if the count is already zero (nothing left), the item will be crashed out and cannot be selected.

    Example:

    If you want to add a "SOLD OUT" text inside it when there's none left, inject this CSS codes on your inventory widgets.

    span.items-left.none-left:after {

        content: " SOLD OUT";

        position: absolute;

        top: -2px;

        left: 34%;

        color: #f00;

        font-size: 17px;

        font-style: normal;

    }

    You have to paste this codes on your inventory widget settings under Custom CSS tab.

    It should look like this afterwards.

    If this is not what you want, kindly provide more details so we can assist you with it.

     

  • Profile Image
    CarolTasseff
    Answered on July 15, 2016 at 11:05 AM

    What I'm trying to set up is "Show Waitlist for Improptu field if Impromptu inventory Widget is sold out." So if they wanted to enter their child in Impromptu but there are no more spots left, the waiting list for impromptu will appear and they can add their child's name to it. 

    I only want the waitlist fields for each event to show up if the event is sold out.

    Thanks for your help!

    Carol

  • Profile Image
    EltonCris
    Answered on July 15, 2016 at 11:26 AM

    Hello Carol,

    Thank you for providing more details.

    Unfortunately, that's not possible with the inventory widget and with conditions. Our condition does not have an option for detecting disabled fields so there's no way to achieve the function that you want. Also, the only way to grab values from the inventory widget is when its dropdown field value changes (change event in dev terms). So with the field being disabled, it is impossible to create a condition for it.

    A workaround I could think off is to add another checkbox field in your form that asks a question e.g. "Is the inventory sold out?" and when the user tick that checkbox, show the field that you want.

    Hope this still helps!