Why when quantity of listing is 0 still live on website

the listing quantity is 0 still its visible on website can you how its possible its confusing people me also . as the listing goes to 0 the the listing should not be live on website .please check this bug and give code snippet to fix this tempraroly as it unfair for all . its the biggest bug i can say when the listing quantity is 0 its should be 0 and vendor set quantity restock in woomerse then only it should be visible to customer

i am using booking + marketplace . its urgent give me temprary fix code snippet it causing problem as it should not be visible for booking and selling

Hi,

If you’re using Bookings, the quantity field doesn’t apply in the same way. Bookable listings don’t have “stock” in the traditional sense. Instead, they have “maximum quantity per time period” if you’ve enabled the “Allow multiple bookings per time period” option.

It’s not possible to set a global quantity limit for bookable items the way you can with regular sellable products, because when someone books an item, it becomes available again once the booking period ends. So it can’t simply “run out” permanently, availability depends on the date range users select when making a booking, and the system shows whether it’s available or not for those specific dates.

The quantity feature applies to sellable items but not to bookable items. This is our oversight, that option should be hidden for bookable listings to avoid confusion.

Sorry for any confusion this may have caused. We’ll fix this in future updates.

is there temporary code you can give to fix this its causing problem. i want user should not able book also as the listing goes 0.

This setting isn’t relevant when Bookings are active simultaneously. Bookable items don’t have infinite stock quantities over time, unlike regular sellable products. Instead, please consider using the “Allow multiple places per time period” option in your booking settings. If you set this to 2, for example, no more than 2 can be booked simultaneously, and the system will indicate that booking is unavailable beyond that limit.

We recommend disabling the quantity option in Settings > Listings > Selling because its behavior becomes unpredictable when combined with bookings. There are some options in Marketplace that simply aren’t relevant for bookings, for example, the auto-completion period doesn’t apply because bookings automatically complete orders when the booking period ends. This is a minor UI issue on our end, and we’ll make sure these irrelevant options are hidden in future updates.

If you still want to use this quantity option despite the limitations, we can only provide general guidance on which hooks to use if you have a developer available.