Hide Inventory widget if available quantity is "0" or "None Left".

  • hewolf
    Asked on June 9, 2017 at 12:54 AM
    If my item is limited and the number left is 0 can I hide that item from customers?
  • Charlie
    Replied on June 9, 2017 at 3:56 AM

    Hi,

    I tried to research on this but unfortunately, it seems like it is not possible. I tried using the Conditional Logic but it can't read the exact text string "None Left" when the Inventory widget has no available quantity left. I tried thinking on using a custom CSS code but it seems like it is also not possible. I'll try to research further on this. 

    Apologies. 

  • yigitusta9
    Replied on June 9, 2017 at 4:21 AM

    Hello, you can use conditions to hide your fields, to do this first click on conditions tab from left side:

     

    Hide Inventory widget if available quantity is 0 or None Left Screenshot 50

     

    Then click on + button:

    Hide Inventory widget if available quantity is 0 or None Left Screenshot 61

     

    Then click on show / hide field:

    Hide Inventory widget if available quantity is 0 or None Left Screenshot 72

     

    Then you can follow my example here:

    Hide Inventory widget if available quantity is 0 or None Left Screenshot 83

     

    I hope this helps, if not, could you please provide us your form link so we can help you?