How to avoid displaying the amount of items left on the Inventory Widget?

  • AnimalRescueMobile
    Asked on August 7, 2014 at 8:14 PM
    @TitusN - is there a way to use this inventory widget that doesn't display how many items are left? Its exactly what I need but I don't want my users see how many of each item are left because in my case, I'm selling tickets. I am afraid people will be deterred if there are too many left.
  • David JotForm Support Manager
    Replied on August 7, 2014 at 8:29 PM

    I have tried to find a way to hide it with custom CSS code, but I guess it can be accomplished if it is injected directly into the widget:

    How to avoid displaying the amount of items left on the Inventory Widget? Image 1 Screenshot 20

    I will open a ticket request to our second level to have this option available, if it is approved, you will be notified via this thread when it gets implemented.

  • AnimalRescueMobile
    Replied on August 7, 2014 at 8:30 PM

    Thank you!!!!

  • Elton Support Team Lead
    Replied on August 8, 2014 at 1:12 AM

    @AnimalRescueMobile

    This is now implemented. You can now inject Custom CSS codes to the Inventory Widget. Inject the following CSS codes if you want to hide the amount of the items left.

    .items-left{display:none !important;}

    Open your inventory widget settings and paste this CSS code on the Custom CSS code section like the following.

    How to avoid displaying the amount of items left on the Inventory Widget? Image 1 Screenshot 20

    Cheers!